修改docker存储路径&添加私有仓库

这篇文档就这两两行,口号都不好意思喊

修改docker存储路径和添加私有仓库

cat < /etc/docker/daemon.json
{
        "insecure-registries" : ["registry.xxxxx.com"],
        "graph": "/home/docker_data"
}
EOF
systemctl restart docker

你可能感兴趣的:(docker容器,docker添加私有仓库,docker修改存储路径)