Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Docker removes the mirror


May 22, 2021 Docker From entry to practice



If you want to remove a local mirror, you docker rmi command. Note that docker rm command is to remove the container.

$ sudo docker rmi training/sinatra
Untagged: training/sinatra:latest
Deleted: 5bc342fa0b91cabf65246837015197eecfa24b2213ed6a51a8974ae250fedd8d
Deleted: ed0fffdcdae5eb2c3a55549857a8be7fc8bc4241fb19ad714364cbfd7a56b22f
Deleted: 5c58979d73ae448df5af1d8142436d81116187a7633082650549c52c3a2418f0

Note: Delete all containers that depend on the docker rm before deleting the mirror.