-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.
Description
/kind bug
Description
possibly a variant of #1154. podman image prune seems to remove all images, not just unnamed images.
[vagrant@vanilla-f29-atomic-testing foo]$ echo "foo" > file
[vagrant@vanilla-f29-atomic-testing foo]$
[vagrant@vanilla-f29-atomic-testing foo]$ cat Dockerfile
FROM registry.fedoraproject.org/fedora:29
COPY file /file
[vagrant@vanilla-f29-atomic-testing foo]$ sudo podman build -t foo .
STEP 1: FROM registry.fedoraproject.org/fedora:29
STEP 2: COPY file /file
--> 30dac0f34c014ff719aec51c05423f6dec000785a912e312c1fe4d3d36a31d04
STEP 3: COMMIT foo
--> 4b9cdb6bdd985c60619342c3b2eccf51bf000454ff73133d6fd0989d3994e5b1
[vagrant@vanilla-f29-atomic-testing foo]$
[vagrant@vanilla-f29-atomic-testing foo]$ sudo podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/foo latest 4b9cdb6bdd98 9 seconds ago 283 MB
<none> <none> 30dac0f34c01 9 seconds ago 283 MB
registry.fedoraproject.org/fedora 29 69c5db8b64a7 11 days ago 283 MB
registry.fedoraproject.org/fedora 28 ded494ce3076 3 months ago 264 MB
[vagrant@vanilla-f29-atomic-testing foo]$
[vagrant@vanilla-f29-atomic-testing foo]$ sudo podman image prune
69c5db8b64a76b5f0b3ac812f317f828d3d4d8e7b399ea196de6de659c225b96
ded494ce3076e8f2d264235fdb09da5970921d8317f8fd024ab65821bf13e29f
30dac0f34c014ff719aec51c05423f6dec000785a912e312c1fe4d3d36a31d04
4b9cdb6bdd985c60619342c3b2eccf51bf000454ff73133d6fd0989d3994e5b1
[vagrant@vanilla-f29-atomic-testing foo]$
[vagrant@vanilla-f29-atomic-testing foo]$ sudo podman images
[vagrant@vanilla-f29-atomic-testing foo]$
podman version/info
Details
[vagrant@vanilla-f29-atomic-testing foo]$ rpm -q podman
podman-1.0.0-1.git82e8011.fc29.x86_64
[vagrant@vanilla-f29-atomic-testing foo]$
[vagrant@vanilla-f29-atomic-testing foo]$ sudo podman version
Version: 1.0.0
Go Version: go1.11.4
Git Commit: "49780a1cf10d572edc4e1ea3b8a8429ce391d47d"
Built: Mon Jan 14 20:38:17 2019
OS/Arch: linux/amd64
[vagrant@vanilla-f29-atomic-testing foo]$ sudo podman info
host:
BuildahVersion: 1.6-dev
Conmon:
package: podman-1.0.0-1.git82e8011.fc29.x86_64
path: /usr/libexec/podman/conmon
version: 'conmon version 1.12.0-dev, commit: 49780a1cf10d572edc4e1ea3b8a8429ce391d47d'
Distribution:
distribution: fedora
version: "29"
MemFree: 3407650816
MemTotal: 4133462016
OCIRuntime:
package: runc-1.0.0-67.dev.git12f6a99.fc29.x86_64
path: /usr/bin/runc
version: |-
runc version 1.0.0-rc6+dev
commit: d164d9b08bf7fc96a931403507dd16bced11b865
spec: 1.0.1-dev
SwapFree: 0
SwapTotal: 0
arch: amd64
cpus: 4
hostname: vanilla-f29-atomic-testing
kernel: 4.20.3-200.fc29.x86_64
os: linux
rootless: false
uptime: 1h 7m 23.14s (Approximately 0.04 days)
insecure registries:
registries: []
registries:
registries:
- docker.io
- registry.fedoraproject.org
- quay.io
- registry.access.redhat.com
- registry.centos.org
store:
ConfigFile: /etc/containers/storage.conf
ContainerStore:
number: 0
GraphDriverName: overlay
GraphOptions: null
GraphRoot: /var/lib/containers/storage
GraphStatus:
Backing Filesystem: xfs
Native Overlay Diff: "true"
Supports d_type: "true"
ImageStore:
number: 0
RunRoot: /var/run/containers/storage
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.