Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish it to the main docker registry? #2

Closed
stardust85 opened this issue Jun 20, 2016 · 3 comments
Closed

Publish it to the main docker registry? #2

stardust85 opened this issue Jun 20, 2016 · 3 comments

Comments

@stardust85
Copy link

Hi,

I noticed that most projects put their container images to the cetral docker registry so in docker-compose.yml you put something like

gitlabmirror:
   image: klowner/gitlab-mirrors:latest

instead of:

gitlabmirror:
  image: quay.io/klowner/gitlab-mirrors:latest

I'm relatively new to docker, so maybe this request doesn't make sense...

@Klowner
Copy link
Owner

Klowner commented Jun 20, 2016

I could publish the container in docker hub as well, but I prefer quay.io
since they provide automated container builds.

Is there a reason that you need it published on the official registry or is
it just a matter of preference?

On Mon, Jun 20, 2016, 11:32 AM Michel Samia notifications@github.com
wrote:

Hi,

I noticed that most projects put their container images to the cetral
docker registry so in docker-compose.yml you put something like

gitlabmirror:
image: klowner/gitlab-mirrors:latest

instead of:

gitlabmirror:
image: quay.io/klowner/gitlab-mirrors:latest

I'm relatively new to docker, so maybe this request doesn't make sense...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2, or mute the
thread
https://github.com/notifications/unsubscribe/AAAknsRRIwiqd0DPIcJliEHeVtHTImReks5qNsCMgaJpZM4I54iV
.

@stardust85
Copy link
Author

It was more a question than a bug report to find out what is the difference between these two ways. You can close it :)

@Klowner
Copy link
Owner

Klowner commented Jun 20, 2016

Oh, no worries. They're largely the same, they're both docker registry servers. The official registry has no bells or whistles like some of the others such as quay.io.

You can tag a container with just about any string, but if you use the hostname/namespace/name pattern then you can docker push and docker pull to the corresponding registry. For example, if you decided to run your own registry at docker.example.com you would tag your images with docker.example.com/startdust85/docker-gitlab-mirrors:latest and then when you docker push that it'll go to that registry server.

Quay.io is cool because you can set it up so if you push to a Github repository, Quay will start an automated build of the Dockerfile in your repository and then serve the resulting image.

@Klowner Klowner closed this as completed Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants