diff --git a/dotfiles/etc/docker/daemon.json b/dotfiles/etc/docker/daemon.json new file mode 100644 index 0000000..676c9a1 --- /dev/null +++ b/dotfiles/etc/docker/daemon.json @@ -0,0 +1,10 @@ +{ + "registry-mirrors": [ + "https://dockerhub.timeweb.cloud", + "https://mirror.gcr.io", + "https://daocloud.io", + "https://c.163.com/", + "https://registry.docker-cn.com", + "https://huecker.io" + ] +} diff --git a/install/docker b/install/docker index 357a486..a28a8a9 100755 --- a/install/docker +++ b/install/docker @@ -33,6 +33,8 @@ sudo apt install -y --autoremove \ sudo usermod -aG docker $(whoami) +sudo cp ../dotfiles/etc/docker/daemon.json /etc/docker/daemon.json + echo echo "Finish!" docker --version