Created
January 10, 2021 06:48
-
-
Save devlifeX/af370751f567edb141b1231e96706820 to your computer and use it in GitHub Desktop.
replace dockerhub.ir with docker hub default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cat > /etc/docker/daemon.json <<EOF | |
{ | |
"registry-mirrors": ["https://dockerhub.ir"] | |
} | |
EOF | |
sudo systemctl restart docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment