1、通过 Container Station 界面添加
打开Container Station,左侧菜单选择属性栏,然后找到registry服务器选项卡,点击“新增”。添加加速站点地址,如1panel的加速站点https://docker.1panel.live
2、修改 docker. json 配置文件
打开/share/CACHEDEV1_DATA/.qpkg/container-station/etc/docker.json文件,添加
"registry-mirrors": [
"https://docker.1panel.live"
],
重启 container-station 生效:
/etc/init.d/container-station.sh restart
验证一下是否修改成功:
docker info
评论区