Recently, I just started docker. I planned to follow the official example and found an example of redis. As a result, on the way to build, the capacity reached 15g+, and I wanted to give up and shut down the shell. Later, I couldn’t find images by any means, and I couldn’t clean up the space occupied by nature. what is the way to clean it up? Including docker images, were also used and no container was found.
It was interrupted after this sentence.
docker images
After that, the name, Id and other parameters of all mirrors in the system will be displayed, as follows:
adolph@geek:~$ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE kalilinux/kali-linux-docker latest b8b8ce44934b 2 days ago 313.7 MB index.alauda.cn/adolphlwq/spark-utlimate latest 62555794533c 5 days ago 1.017 GB spark-ultimate latest 62555794533c 5 days ago 1.017 GB adolphlwq/ubuntu-java latest 5e364fee9f00 10 days ago 645.2 MB duohuostudio/ubuntu 14.04_64_base_image bdbcf2ae2d80 11 days ago 269.1 MB adolphlwq/ubuntu 14.04_64_base_image bdbcf2ae2d80 11 days ago 269.1 MB ubuntu latest 07f8e8c5e660 4 weeks ago 188.3 MB busybox latest 8c2e06607696 6 weeks ago 2.433 MB training/webapp latest 31fa814ba25a 12 months ago 278.8 MB crosbymichael/dockerui latest 109c8f1f632d 14 months ago 398.7 MB
General build failed mirror
REPOSITORY
,TAG
display<none>
But there is still an id. Find your failed iddocker rmi -f [your failed image id]
Just do it.