How does one remove a Docker image?
@lebyy▲ 0 net votes
Problem: I'm running Docker under Vagrant under OS X 10.8.4 (Mountain Lion), and whenever I try to delete a saved image, I get an error: $ docker rmi some-image-id 2013/07/15 hh:mm:ss unexpected JSON input According to the rmi help, the proper syntax is docker rmi… Fix (from the top answer): Try docker rmi node . That should work. Seeing all created containers is as simple as docker ps -a . To remove all existing containers (not images!) run docker rm $(docker ps -aq)