1.docker配置国内源
cd /var/packages/ContainerManager/etc/
cp dockerd.json dockerd.json.bak
vi dockerd.json
将docker.json文件修改如下
{"data-root":"/var/packages/ContainerManager/var/docker","log-driver":"db","registry-mirrors":["https://dockerproxy.com","https://mirror.iscas.ac.cn"],"storage-driver":"btrfs"}
# 重启docker服务,注意会导致现有docker容器重启,请慎重
systemctl daemon-reload
systemctl restart pkgctl-ContainerManager
标签:技巧,汇总,var,json,dockerd,群晖,docker,packages,ContainerManager
From: https://www.cnblogs.com/monkey6/p/18049283