993034494
参考这个。 172.31.17.46:30003 是我部署的harbor。
root@base-mdcqq:/home/jenkins/agent# cat /etc/containers/registries.conf | tail -n 20
# [[registry.mirror]]
# location = "example-mirror-1.local/mirrors/foo"
# insecure = true
# # Given the above, a pull of example.com/foo/image:latest will try:
# # 1. example-mirror-0.local/mirror-for-foo/image:latest
# # 2. example-mirror-1.local/mirrors/foo/image:latest
# # 3. internal-registry-for-example.com/bar/image:latest
# # in order, and use the first one that exists.
#
unqualified-search-registries = ["172.31.17.46:30003"]
[[registry]]
prefix = "docker.io"
location = "docker.io"
[[registry]]
prefix = "172.31.17.46:30003"
location = "172.31.17.46:30003"
insecure = true