Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover intermediate image #5

Closed
luwensu opened this issue Aug 20, 2015 · 2 comments
Closed

Cover intermediate image #5

luwensu opened this issue Aug 20, 2015 · 2 comments

Comments

@luwensu
Copy link

luwensu commented Aug 20, 2015

#docker images will hide the intermediate image by default (-a option is false), so use #docker images -a would be better.
For how to generate intermediate image:
#docker pull fedora
#docker run fedora --> assume the generated container named $TMP
#docker commit $TMP fedora
#docker images will only show the new fedora, but
#docker images -a will show the hidden <none>:<none> which is the original "fedora" image

@jramseye
Copy link
Owner

Good catch. Originally, I had used docker images -a, but switched back to docker images. I was trying to delete the images as well, and docker seems to handle deleting intermediate images when it deletes later images, so manually deleting intermediate images as well was giving me problems (things had already been deleted when I was trying to delete them). But we stopped deleting them, so I will switch it back.

@jramseye
Copy link
Owner

Pushed a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants