Questions tagged [docker-registry]
79 questions
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
- 806
- 2
- 6
- 17
11
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
- 221
- 1
- 2
- 6
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
- 333
- 3
- 15
6
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
- 221
- 2
- 8
5
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
- 51
- 1
- 3
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
- 1,935
- 9
- 35
- 56
5
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
- 61
- 4
4
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
- 61
- 1
- 4
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
- 1
- 7
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
- 145
- 12
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
- 2
- 8
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,298
- 22
- 25
3
votes
1 answer
Ensure docker pulls most current image
Assuming I have registered a repo at Docker Hub, called MyRepo.
Assuming I am working on a Docker image called MyImage.
Assuming I have configured Docker Hub to build images from Dockerfiles available in my GitHub repo.
Problem:
(I usually use the…
learningtech
- 83
- 1
- 7
3
votes
0 answers
How do you get descriptions into a docker image on a private registry?
I've looked at the build command, the push command, and various registry API calls, but none of these have a feature which to apply a description.
Descriptions seem to be implied from the remote API::
(from the docs)
Example request:
GET…
cgp
- 1,022
- 3
- 12
- 15
2
votes
1 answer
Google cloud sdk error : token exchange failed
I am totally new to Google Cloud. I am trying to push a Docker image on Google Cloud Registry.
I have performed following steps :
Installed Google Cloud SDK.
Downloaded a JSON key file for my IM account
Set authentication using following…
Rushikesh Mandage
- 21
- 3