Questions tagged [docker-registry-mirror]
10 questions
5
votes
0 answers
Is it possible to use environment variables inside docker daemon configuration file
background:
We are using registry_mirrors & insecure_registries options in docker daemon.json file. We would like to stop setting the location of the mirrors hard-coded.
Question
Is it possible to use env variable inside daemon.json? So instead of…

oak
- 2,898
- 2
- 32
- 65
4
votes
1 answer
When running private Docker repository, is it possible to share images with the local docker deamon
Background
We are running a local Docker repository inside a machine that is running Docker.
I'm trying to find out:
Question
Do the local repository and the daemon, share same images and, therefore, does not increase the disk usage. Or, for every…

oak
- 2,898
- 2
- 32
- 65
3
votes
2 answers
Can we change kubernetes image registry search list?
For example, I have an internal docker registry for my kube cluster, hosted on internal-docker-registry.io:5000.
When the pod from the kube cluster pulling image busybox, I don't want to pull from docker hub docker.io. But instead I want it to pull…

jack2684
- 324
- 3
- 15
3
votes
1 answer
docker pull twice from remote registry
In the latest Docker, I encountered an issue like this.
docker pull mongo:4.0.10
4.0.10: Pulling from library/mongo
f7277927d38a: Pull complete
8d3eac894db4: Downloading
edf72af6d627: Download complete
3e4f86211d23: Download complete
5747135f14d2:…

Hantsy
- 8,006
- 7
- 64
- 109
2
votes
1 answer
Can I reference an environment variable in a Dockerfile FROM statement?
What I'd like to do is this:
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-alpine
# more stuff
But, this needs to run on an isolated clean build machine which does not have internet access, so I need to route it through a local mirror server (e.g.…

Orion Edwards
- 121,657
- 64
- 239
- 328
1
vote
1 answer
How to configure containerd to use a registry mirror?
If a system (e.g., a kubernetes node) is using containerd, how do I configure it to pull container images from a registry mirror instead of docker.io?

benjimin
- 4,043
- 29
- 48
1
vote
1 answer
Docker-Registry in Pull-Through configuration not working
I'm using the official Docker-registry image to serve as a pull-through cache.
I tried to start it as simple as possible, to minimize sources of error.
$ docker run --rm \
-p 5000:5000 \
--env…

jk-liwetec
- 13
- 4
0
votes
1 answer
Mirror of gitlab registry for Asia
Its really hard to push & pull from registry.gitlab.com in pipelines which is not on GCE, there is always an issue like latency or low bandwidth.
Is there any mirror for it or anyway to speedup the docker image push&pull process?

Salehi
- 362
- 2
- 13
0
votes
1 answer
List image tags with date created in Private Docker Registry V2
I am trying to list all the images in our private V2 docker registry.
I was looking for a way, in which I could list images' tags and their creation date as well.
One of the way to list the tags of an image is:
curl -X GET…

Roushan Jha
- 15
- 1
- 1
- 4
0
votes
0 answers
Can docker use http request to pull images from private registry?
I want to capture http requests when I pull images from private registry. But it doesn't work. I use wireshark and only capture tcp requests.
I use
sudo docker run -d -v /opt/registry/data:/var/lib/registry -p 5000:5000 --name myregistry…

zhang
- 1
- 1
- 2