docker rmi -f registry
Error: No such image: registry
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry latest 678dfa38fcfa 3 weeks ago 26.2MB
解决方法
- systemctl stop docker.service
- rm -rf /var/lib/docker
- systemctl start docker.service
备注: 该操作会删除所有的镜像 请提前做好备份