Questions tagged [dockerhub]

Docker Hub is a product by Docker Inc built on top of the open source Docker Registry to distribute Docker images.

Docker Hub is a product by Docker Inc built on top of the open source Docker Registry to distribute Docker images.

Notable features:

  • Distribution of images (being a registry)
  • Open source images are free
  • Search for images
  • Distribution of the Docker official images
926 questions
15
votes
2 answers

How to determine the Docker image ID for a tag via Docker Hub API?

Given a tag `latest`, we want to find out another tag with the same image ID on Docker Hub. Here is how to find out all tags for a repo with the Docker Hub API v2: TOKEN=$(curl -s -H "Content-Type: application/json" -X POST -d '{"username":…
Janux
  • 841
  • 1
  • 9
  • 19
15
votes
2 answers

Is there an equivalent of GitHub deploy keys for Docker Hub private repositories?

I'm trying to use a Docker Hub private repository to deploy an image to a couple of production servers. I'd like to accomplish this without storing my personal Docker Hub credentials on the servers (and preferably avoid setting up a dedicated deploy…
Martin Törnwall
  • 9,299
  • 2
  • 28
  • 35
15
votes
6 answers

Cannot download Docker image from repository

I am trying to create a swarm setup on my laptop. I am running swarm daemon on laptop, and running 2 Ubuntu 14.04 VM as docker node. On one of the nodes I am able to run swarm and I can connect to swarm daemon. I can list the node with docker info…
Pensu
  • 3,263
  • 10
  • 46
  • 71
15
votes
4 answers

How to view Docker image layers on Docker Hub?

I know that I can use this command $ docker images --tree docker history to view the layers of a Docker image, but how do I do that for images on Docker Hub without pulling it? This is so that I know what is on an image before I download it. E.g.,…
stackoverflower
  • 3,885
  • 10
  • 47
  • 71
14
votes
2 answers

Push multiple docker images to manifest without tags

I have a GitLab CI job that builds multiple architectures of the same application into docker images. I'd like to push them up to DockerHub without needing to tag each image. That way I can add them to a manifest without polluting the tags directory…
14
votes
5 answers

How can I use Docker Registry HTTP API V2 to obtain a list of all repositories in a docker registry?

An external organization that I work with has given me access to a private (auth token protected) docker registry, and eventually I would like to be able to query this registry, using docker's HTTP API V2, in order to obtain a list of all the…
stachyra
  • 4,423
  • 4
  • 20
  • 34
14
votes
4 answers

Docker push - net/http: TLS handshake timeout

I've deployed a private docker image registry on an AWS EC2 Ubuntu 14.04 instance. The registry is secured using Let's Encrypt certificate. Unfortunately, I'm getting net/http: TLS handshake timeout for docker push operations that take longer than…
luqo33
  • 8,001
  • 16
  • 54
  • 107
14
votes
4 answers

Pulling the latest image from dockerhub

Suppose there is a user repository on dockerhub which has 3 images. Images are tagged as A, B and C. Here C is my latest tag. Now I don't know these tags. When I do a docker pull user/image, this gives me an error saying that Tag latest not found in…
Saurabh Shah
  • 576
  • 1
  • 5
  • 19
14
votes
2 answers

How to prevent docker images on docker hub from being overwritten?

Is there any way to prevent images being uploaded to docker hub with the same tags as existing images? Our use case is as follows. We deploy to production with a docker-compose file with the tags of images as version numbers. In order to support…
Russell
  • 1,946
  • 1
  • 16
  • 14
14
votes
2 answers

Is there any limit on pull number in Docker Hub

I want to use Docker in a production context. I want to let my collaborators pulling the latest image that I built, directly from Docker Hub. and I wonder if there is any restriction on pull number and image size in Docker Hub. I look at Docker Hub…
13
votes
1 answer

How to set logo for an repository/image on docker hub

I'm publishing our product image to the docker hub. We created the docker hub account, organization and push our docker image to a repository. Now we specified the avatar to the docker hub account successfully. It works. I cannot specify a logo to…
Thomas Liu
  • 143
  • 6
13
votes
5 answers

How to check for unuse images for your docker containers?

I have 3 containers, but I have a lot of images as you can see in the image. ⚡️ docker images REPOSITORY TAG IMAGE ID CREATED SIZE sscportalsmb_smb-portal latest …
code-8
  • 54,650
  • 106
  • 352
  • 604
13
votes
7 answers

Docker: An error occurred trying to connect

Installed Docker on Windows with 2 additional installs, Oracle VM VirualBox and Kitematic. I've disabled Hyper-V in my Windows 10 PC. Now the problem is I can't download any Docker images from DockerHub, not even I can run the command as Docker…
Janshair Khan
  • 2,577
  • 4
  • 20
  • 44
13
votes
3 answers

Dockerhub Repository Description

Does anybody know how dockerhub manages the description on automatic build repositories? Dockerhub has the nice feature that the README.md from the source repository is taken as the repository description. In practise the description of the…
blacklabelops
  • 4,708
  • 5
  • 25
  • 42
12
votes
3 answers

push docker image to ECR using terraform

Using terraform to pull and reload an public image from Dockerhub (or just custom image) to ECR. I was thinking about something like # Create ECR repository resource "aws_ecr_repository" "ecr_repo" { name = var.ecr_name } # Docker…
minnie
  • 123
  • 1
  • 1
  • 6