On 1/9/20 3:28 PM, Dev Linux wrote:
If I have a running container, and get the ID by issuing this
CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS NAMES
/bin/bash 25 hours ago Up
About an hour ago tender_curran
And then create an image from that container, giving it the same name
of an already existing image ($podman <id_of_container> <name_of_image>:
$podman commit bc41dd5034b8 ubi8-template
It appears that the previously existing image, with the same name is
kept, with an entry like so:
<none> <none> b3cb81594745 About an
hour ago 1.35 GB
Is it OK to delete this <none> image? or is it attached in any way to
the container that replaced it?
Why is it created? I simply want to overwrite destructively the image
with the same name. Is there a command line switch that will prevent
these <none> images?
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
Yes it is ok to remove this image.
You could also do
podman image prune
This is basically the old version of the image.