Click here to Skip to main content
14,842,013 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralWhat is the best Docker private registry solution? Pin
RickZeeland27-Mar-19 10:45
mveRickZeeland27-Mar-19 10:45 
GeneralRe: What is the best Docker private registry solution? Pin
Marc Clifton27-Mar-19 14:36
mvaMarc Clifton27-Mar-19 14:36 
GeneralRe: What is the best Docker private registry solution? Pin
RickZeeland27-Mar-19 21:33
mveRickZeeland27-Mar-19 21:33 
GeneralRe: What is the best Docker private registry solution? Pin
Member 798912228-Mar-19 2:29
MemberMember 798912228-Mar-19 2:29 
PraiseRe: What is the best Docker private registry solution? Pin
RickZeeland28-Mar-19 3:02
mveRickZeeland28-Mar-19 3:02 
GeneralRe: What is the best Docker private registry solution? Pin
Member 798912228-Mar-19 4:11
MemberMember 798912228-Mar-19 4:11 
GeneralRe: What is the best Docker private registry solution? Pin
RickZeeland28-Mar-19 4:58
mveRickZeeland28-Mar-19 4:58 
GeneralRe: What is the best Docker private registry solution? Pin
Member 798912228-Mar-19 5:32
MemberMember 798912228-Mar-19 5:32 
Thanks - I wasn't aware of this library, and I will sure make use of it to build a simple Windows GUI. It is very useful to me.

However... It is the answer to another question. This interfaces to the Docker Engine - the "virtual machine" (I do not use this term to start another war, just to explain where we are at!) on which the containers are executed. The Engine comes with a command line interface, both in Windows and Linux distributions. Linux die-hards never want anything else, and can't understand that Windows people find it cumbersome. This library is great for building a more visual interface for those who want something else.

When you use the CLI (or a GUI based on this interface) to start a container from an image not currently available, the Docker engine will pull it from a remote database, a "registry". Unless you have set up your own, you (by default) use the "Docker Hub" registry, at docker.io. Your only involvement in the image retrieval is naming the image you want to run; you do not see the registry as such. You may also explicilty pull an image from a registry, or push an image you have build, yet you need to know just the full image name.

If you want to inspect the registry itself - the Docker Hub, one you have set up yourself or some other registry you have access to - you do not talk to the Docker Engine, but to the remote registry, at another location, and speaking a quite different language. Well, both are REST based, but I was really surprised to see how different two REST APIs can be, in particular considering that they both come out of the Docker community!

The biggest difference is in the description of the protocol; REST does limit your freedom somewhat. But even at the REST level, the choices made are so divergent that to make common UI for the Engine and the registry is like making two separate programs under a single surface. I can't easily see how I can make higher abstractions (/classes) suitable for both protocols. Of course it is "possible", but far from "elegant"; a lot of it will be of no interest to "the other" part.

Maybe I will try to make a "merged" GUI anyway. But we have a number of Linux die-hards here that will become rather grumpy when they are offered a nice GUI only if they jump out of their nice cosy Linux whirlpool and dirty their hands on using a Windows tool. I guess they will stick to their CLI interface to the Engine, and if they need to inspect the registry, they will use curl and type the REST URLs by hand. Smile | :)
PraiseRe: What is the best Docker private registry solution? Pin
Nelek28-Mar-19 5:44
protectorNelek28-Mar-19 5:44 
GeneralRe: What is the best Docker private registry solution? Pin
RickZeeland28-Mar-19 7:34
mveRickZeeland28-Mar-19 7:34 
GeneralRe: What is the best Docker private registry solution? Pin
PIEBALDconsult29-Mar-19 15:15
professionalPIEBALDconsult29-Mar-19 15:15 
GeneralRe: What is the best Docker private registry solution? Pin
RickZeeland29-Mar-19 21:43
mveRickZeeland29-Mar-19 21:43 
GeneralThought of the Day Pin
OriginalGriff27-Mar-19 5:49
mveOriginalGriff27-Mar-19 5:49 
GeneralRe: Thought of the Day Pin
DRHuff27-Mar-19 6:01
MemberDRHuff27-Mar-19 6:01 
GeneralRe: Thought of the Day Pin
jeron127-Mar-19 6:05
Memberjeron127-Mar-19 6:05 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Mar-19 6:35
mveW Balboos, GHB27-Mar-19 6:35 
GeneralRe: Thought of the Day Pin
Rajesh R Subramanian27-Mar-19 7:20
professionalRajesh R Subramanian27-Mar-19 7:20 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Mar-19 7:26
mveW Balboos, GHB27-Mar-19 7:26 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer27-Mar-19 6:38
professionalDaniel Pfeffer27-Mar-19 6:38 
GeneralRe: Thought of the Day Pin
megaadam27-Mar-19 6:40
professionalmegaadam27-Mar-19 6:40 
GeneralRe: Thought of the Day Pin
Tim Deveaux27-Mar-19 7:02
MemberTim Deveaux27-Mar-19 7:02 
GeneralRe: Thought of the Day Pin
OriginalGriff27-Mar-19 7:17
mveOriginalGriff27-Mar-19 7:17 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Mar-19 7:23
mveW Balboos, GHB27-Mar-19 7:23 
GeneralRe: Thought of the Day Pin
Tim Deveaux27-Mar-19 7:41
MemberTim Deveaux27-Mar-19 7:41 
GeneralWhat I want..... Pin
rjmoses27-Mar-19 3:30
professionalrjmoses27-Mar-19 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.