How To Use Private Docker Registry

Docker Docker

I’m working on another Unix Tutorial Project these days, to setup my own Docker registry. It’s not quite ready yet, but some findinds are ready to be captured.

How To Authenticate Against Private Docker Registry

$ docker login

How To Pull an Image From Private Docker Registry

$ docker pull

How To Push an Image To Private Docker Registry

As always: first, make sure we commit the running container into a local image. But we can make it include private registry name:

$ docker commit c74010b06784

In this example c74010b06784 is my current DB container name, is my private Docker registry name and mariadb is the image name in it.

Cool! Now let’s push it into my registry:

$ docker push

That’s it for today, enjoy!

See Also

Keep Learning

Follow me on Facebook, Twitter or Telegram:
I learn with Educative: Educative
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!

Recent Tweets