spiegel_podman/pkg
Valentin Rothberg 2a43fcf786 image prune: remove unused images only with --all
Fix a regression in `podman image prune` where unused images were
accidentally removed even when `--all=false`.  Extend and partially
rewrite the e2e tests to make sure we're not regressing again in the
future.

Fixing the aforementioned issue revealed another issue in the default
prune filter.  While prune should remove all "dangling" images (i.e.,
those without tag), it removed only "intermediate" ones; dangling images
without children.  Remove the mistaken comment from the libimage
migration.

Also clarify the help message and man page.

Fixes: #10350
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-17 13:52:03 +02:00
..
annotations Spelling 2020-12-22 13:34:31 -05:00
api Merge pull request #10271 from matejvasek/fix-wait-next-exit 2021-05-10 14:31:40 -04:00
auth Enable whitespace linter 2021-02-11 23:01:56 +01:00
autoupdate migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
bindings Fix podman-remote build --rm=false ... 2021-05-10 09:16:52 -04:00
cgroups cgroups: force 64 bits to ParseUint 2021-04-09 10:09:54 +02:00
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
copy podman cp: support copying on tmpfs mounts 2021-03-04 15:43:12 +01:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain image prune: remove unused images only with --all 2021-05-17 13:52:03 +02:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
hooks bump go module to v3 2021-02-22 09:03:51 +01:00
inspect bump go module to v3 2021-02-22 09:03:51 +01:00
kubeutils prune remotecommand dependency 2021-02-25 10:02:41 -06:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
machine Print "extracting" only on compressed file 2021-05-12 14:35:49 -04:00
namespaces [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
netns rootless cni without infra container 2021-04-01 17:27:03 +02:00
network Split libpod/network package 2021-03-15 14:01:52 +01:00
parallel bump go module to v3 2021-02-22 09:03:51 +01:00
ps migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
registries Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
resolvconf bump go module to v3 2021-02-22 09:03:51 +01:00
rootless rootless: improve automatic range split 2021-05-05 18:03:10 +02:00
rootlessport Enable whitespace linter 2021-02-11 23:01:56 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen Kube like pods should share ipc,net,uts by default 2021-05-10 11:29:11 +05:30
systemd Add envars to the generated systemd unit 2021-05-10 12:01:24 +02:00
terminal pkg/terminal: use c/storage/pkg/homedir 2021-03-08 09:21:13 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust Enable whitespace linter 2021-02-11 23:01:56 +01:00
util migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00