群晖小技巧汇总
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