Skip to content

Instantly share code, notes, and snippets.

@ivar
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivar/2d865d8c28d5ffb229d8 to your computer and use it in GitHub Desktop.
Save ivar/2d865d8c28d5ffb229d8 to your computer and use it in GitHub Desktop.
cannot delete unused docker image
ivar@bento-4 ~/Work/rew-docker $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ivar@bento-4 ~/Work/rew-docker $ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
ubuntu 14.10 277eb4304907 2 weeks ago 228.5 MB
<none> <none> 7fa0dcdc88de 6 weeks ago 910 B
ivar@bento-4 ~/Work/rew-docker $ docker rmi 7fa0dcdc88de
Error response from daemon: No such id: ef872312fe1bbc5e05aae626791a47ee9b032efa8f3bda39cc0be7b56bfe59b9
2014/11/12 17:17:43 Error: failed to remove one or more images
ivar@bento-4 ~/Work/rew-docker $ docker rm 7fa0dcdc88de
Error response from daemon: No such container: 7fa0dcdc88de
2014/11/12 17:15:14 Error: failed to remove one or more containers
---
ivar@bento-4 ~/Work/rew-docker $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d53f0f88de79 ubuntu:14.10 "/bin/sh -c 'while t 2 days ago Exited (-1) 26 hours ago drunk_tesla
38282a6d9e99 ubuntu:14.10 "/bin/sh -c 'while t 2 days ago Exited (0) 26 hours ago condescending_kowalevski
0fbcc8f78454 ubuntu:14.10 "/bin/echo 'Hello Mo 2 days ago Exited (0) 26 hours ago suspicious_pare
14e734ac0e9b ubuntu:14.10 "/bin/echo 'Hello wo 2 days ago Exited (0) 26 hours ago distracted_fermat
0075fd03e2f6 ef872312fe1b "/hello" 2 days ago Exited (0) 27 hours ago naughty_shockley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment