Replies: 10 comments
-
|
second |
Beta Was this translation helpful? Give feedback.
-
|
Can you please share some more information about this? We have a way to set the default registry in container via this command This will make it such that when you try to run a container The image will be pulled from foo.bar/alpine:latest and not from docker.io |
Beta Was this translation helpful? Give feedback.
-
|
Problems were encountered when running container run hello-world
# or
container run docker.io/hello-world
Previously, Docker was configured as follows. Either pass the --registry-mirror option when starting dockerd manually, or edit /etc/docker/daemon.json and add the registry-mirrors key and value, to make the change persistent. {
"registry-mirrors": ["https://<my-docker-mirror-host>"]
} |
Beta Was this translation helpful? Give feedback.
-
|
The container registry default command looks different from Mirrors in Docker. AppleContainer It seems that the library will be lost. So even if the default registry is configured, it will still have problems. |
Beta Was this translation helpful? Give feedback.
-
|
@evil0th - are you able to run any container? I'm wondering if during |
Beta Was this translation helpful? Give feedback.
-
@egernst > container system start
Verifying apiserver is running...
Installing base container filesystem...
⠇ [1/2] Fetching image 0% (3 of 4 blobs, 871 KB/164.1 MB, 6 KB/s) [1m 26s]
Verifying apiserver is running...
Installing base container filesystem...
> container images pull docker.io/python:alpine
Error: unknown: "HTTPClientError.connectTimeout" |
Beta Was this translation helpful? Give feedback.
-
|
This one is similar to #304. In this case, you should be able to setup a new default registry, and directly use that mirror to support this use case. Today we don't plan to support 'docker mirrors' There are a couple of areas where people have questions, feature requests for registries, so I'm going to transfer this to a GitHub discussion t get more input, and help with best practices, workarounds. |
Beta Was this translation helpful? Give feedback.
-
|
For Chinese developers, this is a very important feature. |
Beta Was this translation helpful? Give feedback.
-
|
It's a very nice feature for Chinese developers. Additional, from my point of view, it is better to use Podman's config because Podman supports to set registry-mirror for specific registry, for example, there is a config file under |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature or enhancement request details
Due to the special network environment in China, we cannot directly access registry-1.docker.io. In DockerDestktop/orb, we can configure docker-mirrors. But the container does not support it.
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions