简单粗暴删除docker私有仓库历史镜像
docker exec -i registry_name sh -c "registry garbage-collect /etc/docker/registry/config.yml -m"
注意: 会把所有镜像都删掉...如果不是实在硬盘没空间了, 别这么手残.
ref: https://blog.csdn.net/qq_36522728/article/details/108485470
docker exec -i registry_name sh -c "registry garbage-collect /etc/docker/registry/config.yml -m"
注意: 会把所有镜像都删掉...如果不是实在硬盘没空间了, 别这么手残.
ref: https://blog.csdn.net/qq_36522728/article/details/108485470