docker 下面创建的IMAGE 他们的 ID 一样?这个是怎么回事????
阿神
阿神 2017-04-27 09:02:58
0
2
711

docker 下面创建的IMAGE 他们的 ID 一样?这个是怎么回事????
而且删除不了。刚刚开始学习docker。请大神指教。

阿神
阿神

闭关修行中......

reply all(2)
黄舟

Explain that these two images are the same image, but they have different names. You can use docker tag to add tags to this image or create a new image with a different name.

However, when you rmi the name, you only delete the name, not the image (unless it is the last name), and rmi the id directly to delete the image.

Ty80

Delete with REPOSITORY
docker rmi -f $(docker images -q mysql | sort -u)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!