diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-09-19 09:54:15 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-09-21 09:45:14 +0000 |
commit | fbd1392a46558eb4adb368ba37fdce2b45013c1f (patch) | |
tree | 10b7ddb51d19611462421ef22570561f6d4f70c4 /cmd/podman/stats.go | |
parent | 6191ffb6c563b3739e17c5b953eb68fb47b8a2bc (diff) | |
download | podman-fbd1392a46558eb4adb368ba37fdce2b45013c1f.tar.gz podman-fbd1392a46558eb4adb368ba37fdce2b45013c1f.tar.bz2 podman-fbd1392a46558eb4adb368ba37fdce2b45013c1f.zip |
Don't output inodes created to run a container
There is a group of inodes that get created when running a container
if they do not exist.
containerMounts = map[string]bool{
"/dev": true,
"/etc/hostname": true,
"/etc/hosts": true,
"/etc/resolv.conf": true,
"/proc": true,
"/run": true,
"/run/.containerenv": true,
"/run/secrets": true,
"/sys": true,
}
If the destination inode does not exist, libpod/runc will create the inode.
This can cause programs like podman diff to see the image as having changed,
when actually it has not. This patch ignores changes in these inodes.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #1508
Approved by: giuseppe
Diffstat (limited to 'cmd/podman/stats.go')
0 files changed, 0 insertions, 0 deletions