[root@iZm5e6na2l6bjrb2h10gxsZ docker-dir]# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://u0a5p78d.mirror.aliyuncs.com"], # 镜像仓库
"graph":"/root/data_storage/data/docker-dir" # docker目录
}
[root@iZm5e6na2l6bjrb2h10gxsZ docker-dir]# cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://u0a5p78d.mirror.aliyuncs.com"], # 镜像仓库
"graph":"/root/data_storage/data/docker-dir" # docker目录
}
本文标题:docker 镜像目录配置
本文链接:https://www.haomeiwen.com/subject/pvwldctx.html
网友评论