How docker delete temporary image files

王林
Release: 2020-09-11 16:08:20
forward
3792 people have browsed it

How docker delete temporary image files

In the process of building an image, we often need to use the build command to build the image according to the Dockerfile, and it will be built many times, and the image name is the same, so there will be many dangling images. (Temporary image file)

(Recommended tutorial: docker tutorial)

How docker delete temporary image files

There are so many virtual images, for me For people with obsessive-compulsive disorder, looking at them is annoying, so you can use the following command to clear these dangling images

docker rmi $(docker images -q -f dangling=true)
Copy after login

The above is the detailed content of How docker delete temporary image files. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template