PHP中文网2017-04-21 11:19:45
docker tag imageid name:tag correct solution.
In csphere, the docker management platform, you can also add tags to images online
巴扎黑2017-04-21 11:19:45
The empty image is the "cache" during pull. Just delete it directly with docker rmi IMAGE ID.
------update-----
It turns out that this image is being used by a certain container, and the poster wants to save it. Then the steps are as follows:
docker ps -a | grep 镜像 ID
# Get the ID of this image to get the correct container ID
docker commit -a 'message aaaa' CONTAINER_ID NEW_IMAGE_NAME
# Save the container as a new image.
阿神2017-04-21 11:19:45
<none>: There are two types of <none> one is benign and depends on other layers when building the image. This none image is normal.
One is build failure<There are various problems that cause the failure. Dockerfile file syntax error, file downloading is blocked when running, own cancellation action, etc.> This kind of none image can be cleared. After the successfully built image is pushed, you will not be able to see the benign none image after pulling.