Last active
December 16, 2024 07:56
-
-
Save doitian/2caf68f9a0afa9134b6aac13adee899a to your computer and use it in GitHub Desktop.
[Configure Docker Hub mirror in /etc/containers/registries.conf] #docker #podman #proxy
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
unqualified-search-registries = ['docker.io'] | |
[[registry]] | |
prefix = "docker.io" | |
location = "docker.io" | |
[[registry.mirror]] | |
prefix = "docker.io" | |
# This will set the docker registry mirror of a chinese university. | |
# DON'T use it unless you have a network connection issue and you trust the mirror provider. | |
location = "docker.mirrors.ustc.edu.cn" |
As this gist is a top result on Google: Please dont just copy & paste this config!
This will set the docker registry mirror of a chinese university if docker.io can not be reached from your network:
[[registry.mirror]]
prefix = "docker.io"
location = "docker.mirrors.ustc.edu.cn"
As this gist is a top result on Google: Please dont just copy & paste this config! This will set the docker registry mirror of a chinese university if docker.io can not be reached from your network:
[[registry.mirror]] prefix = "docker.io" location = "docker.mirrors.ustc.edu.cn"
Good catch.
This comment was marked as a violation of GitHub Acceptable Use Policies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or follow the great Arch wiki - https://wiki.archlinux.org/title/Podman#No_image_found.