docker mirrors
This commit is contained in:
parent
8ad20ca7fd
commit
49595c7df5
10
dotfiles/etc/docker/daemon.json
Normal file
10
dotfiles/etc/docker/daemon.json
Normal file
@ -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"
|
||||||
|
]
|
||||||
|
}
|
@ -33,6 +33,8 @@ sudo apt install -y --autoremove \
|
|||||||
|
|
||||||
sudo usermod -aG docker $(whoami)
|
sudo usermod -aG docker $(whoami)
|
||||||
|
|
||||||
|
sudo cp ../dotfiles/etc/docker/daemon.json /etc/docker/daemon.json
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Finish!"
|
echo "Finish!"
|
||||||
docker --version
|
docker --version
|
||||||
|
Loading…
Reference in New Issue
Block a user