Questions tagged [docker-registry]
101 questions
12
votes
2 answers
remove tagged Docker image from private registry
How can I delete a mistakenly added tag from an image in a private Docker registry? The option -rmi doesn't seem to work for remote images in Docker 1.9.1.
user@ubuntu-user:~$ docker --version
Docker version 1.9.1, build…
user3105453
- 231
11
votes
1 answer
Easy way to remove a tag from a private Docker registry?
I have a private Docker registry, v2.6.0, containing several tagged versions on an image:
foo/bar:1
foo/bar:1_keep (same image as 1)
foo/bar:2
foo/bar:3
foo/bar:latest (same image as 3)
I want to remove a single tag without necessarily…
Peter Westlake
- 816
10
votes
3 answers
Automatically update Docker containers using webhooks
I have created a Github repo and a Docker repo. Both work together very well: when I push a new version of Dockerfile to Github, a new image is automatically built inside the Docker repo.
Now, I'd like to have my running containers automatically…
PJ Bergeron
- 382
9
votes
3 answers
How to delete docker images older than x days from docker hub using a shell script
How to delete docker images from docker hub using a shell script.
I want to delete all images from docker hub older than past 50 days of a private docker hub account.
Any ideas? Which tools to use while creating and running this shell script from…
amit
- 131
8
votes
1 answer
Configuring "auth" and "credsStore" for different Docker registry
I'm trying to configure Docker for two different registries. (One ECR and docker.io) I need to configure ECR one with ecr-login and docker.io with simple auth but I'm failing to configure these at the same time. It gives the following error:
Error…
U. Ahmad
- 81
7
votes
3 answers
GCP: No access to Container Registry from Compute Engine
I have a Docker image pushed to Google Container Registry at gcr.io/my-project/my-image:latest. In the same project, I created a Google Compute Engine instance based on COS (Container-Optimized OS) with a read access to Google Storage (enabled by…
Sony
- 251
7
votes
0 answers
How to estimate storage and traffic used for docker images in AWS ECR?
I'm trying to esimate monthly cost of using AWS ECR. It will consist of: outgoing traffic cost (downloading images) and storage cost (storing images in ECR).
Let's assume, that:
We are building some web service using Mono (base docker image size is…
rustam
- 81
6
votes
0 answers
`registry-mirrors` with Harbor as pull-through registry cache
I am trying to configure Harbor as a pull-through registry linked to Docker hub.
While I manage to pull images by prefixing them per the doc, I cannot make it work by using the registry-mirrors Docker daemon parameter: Commands such as docker pull…
mimo
- 313
5
votes
1 answer
Docker Private Registry - Deleted all images, but still showing in catalog
Following the official documentation (https://docs.docker.com/registry/spec/api/#deleting-an-image) I have been able to successfully delete an image. As expected, after deleting, the image can no longer be pulled nor its manifest called via API.
I…
emmdee
- 2,397
- 12
- 43
- 65
4
votes
1 answer
how to migrate Docker Registry from file system to S3 storage?
I am using the Docker Registry with the filesystem storage driver. What I want to do is to migrate that existing Registry to S3-compatible storage without loosing data.
While I could pull all images on a dedicated client, reconfigure the registry…
muffel
- 422
4
votes
1 answer
MANIFEST_UNKNOWN error: OCI index found, but Accept header does not support OCI indexes
Why am I getting this OCI index found, but Accept header does not support OCI indexes error?
user@disp7456:~$ curl -H "Authorization: Bearer QQ=="…
Michael Altfield
- 1,041
3
votes
1 answer
How to mminimize the network traffic for pulling docker images for many hosts
I am looking for a mechanism to minimize docker pull traffic for a bunch of hosts which are provisioning the same docker image. I tried to use squid-cache but apparently it is no good as it has no mechanism to cache https.
I can not setup a…
h.safe
- 131
3
votes
1 answer
How to handle retention policies in GCP Container Registry
GCP Container Registry is built on top of GCP Cloud Storage and one can set quite complex retention policies there.
However there's no such functionality in Container registry and as there's no disctinction between images in Storage (All the image…
Fleuri
- 255
3
votes
1 answer
Make docker, registry cache container Use http proxy
I'm trying to setup a caching local registry for docker using official registry:latest Image.
I want to make this container use organizations http proxy for internet access when trying to pull from docker hub.
any help would be appretiated.
P.S you…
Farhad Farahi
- 231
3
votes
1 answer
Showing dependency relationships in Docker Registry
Summary
How can we graph or otherwise get an overview of Docker image dependency relationships in the Docker registry?
Details
We're using a private docker registry instance to locally host some Docker images. We have images depending on other…
Friedrich 'Fred' Clausen
- 2,478