Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (2.3k points)

So I have been running my Docker under Vagrant under OS X 10.8.4 and every time I try to delete an image I this error :

$ docker rmi some-image-id
2013/07/15 hh:mm:ss unexpected JSON input

This is docker system details :

$ docker version
Client version: 0.4.8
Server version: 0.4.8 

Go version: go1.1 

$docker info
Containers: 1 
Images: 3 

1 Answer

0 votes
by (6.9k points)

Try this command below :

$ docker rmi node

that should work.

If you want to see the containers jus tuse this command :

$ docker ps -a 

If you wish to remove all the containers use thsi command ;

$  docker rm $(docker ps -aq)

Hope this helps :)

If you think you need professional help to get an idea about how docker is used in production environment and in the industry think of getting docker training course, it will help you out in this matter of  fact.  

Related questions

Browse Categories