Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pull from private docker repository on docker hub?

I create a automated build repository on dockerhub (via github) and try to pull the image which is automatically built onto cloud server.

using things like

docker pull com.company/project:tag

but it gives me

Error: image com.company/project:tag not found

it usually works for public repository, do I have to do something else for private repository ?

like image 980
Hello lad Avatar asked Aug 03 '15 13:08

Hello lad


People also ask

How do I pull an image to Docker Hub?

Most of your images will be created on top of a base image from the Docker Hub registry. Docker Hub contains many pre-built images that you can pull and try without needing to define and configure your own. To download a particular image, or set of images (i.e., a repository), use docker pull .

Is Docker Hub private repository?

Users get access to free public repositories for storing and sharing images or can choose a subscription plan for private repositories. Docker Hub provides the following major features: Repositories: Push and pull container images. Teams & Organizations: Manage access to private repositories of container images.


1 Answers

You just need to use the command docker login with your sign parameters from docker hub.

like image 193
Anderson Santos Avatar answered Sep 23 '22 01:09

Anderson Santos