none
how to build windows private registry? RRS feed

Answers

  • You mean you want something like Docker Hub but private to you?

    I'm not aware of anyone released an Windows Container image for this purpose yet, but if you are willing to run on Linux, there are multiple solutions you can try, some are written in Go, therefore in theory you could try to build that into a Windows Container.

    Docker Registry is just an API + file server over http, not much fancy functions.

    You can use Docker Hub or Quay.io if you are willing to pay for better SLA and avoid all the DIY troubles.

    https://hub.docker.com/

    https://quay.io/

    https://aws.amazon.com/ecr/

    https://github.com/docker/distribution

    Monday, August 1, 2016 5:06 PM
  • Pushing and pulling of Windows based container images works with the Docker Hub. You can also create your own private docker registry in Linux and push Windows based container images to it. You will need user version 2 of the registry.

    Regards,
    Ender

    • Marked as answer by vklonghml Monday, August 15, 2016 9:05 AM
    Thursday, August 11, 2016 1:13 AM
    Moderator

All replies

  • You mean you want something like Docker Hub but private to you?

    I'm not aware of anyone released an Windows Container image for this purpose yet, but if you are willing to run on Linux, there are multiple solutions you can try, some are written in Go, therefore in theory you could try to build that into a Windows Container.

    Docker Registry is just an API + file server over http, not much fancy functions.

    You can use Docker Hub or Quay.io if you are willing to pay for better SLA and avoid all the DIY troubles.

    https://hub.docker.com/

    https://quay.io/

    https://aws.amazon.com/ecr/

    https://github.com/docker/distribution

    Monday, August 1, 2016 5:06 PM
  • Thank you for your reply. I know that linux could do this, and i build a private registry on linux, however, when i pull/push from that registry, i encouter a problem, like "gettext.3pm.gz: The filename,directory name, or volume label syntax is incorrected" by pull command, and "tar-split.json.gz: The system cannot find the file specified" by push command.

    In docker issues(https://github.com/docker/docker/issues/24766), someone said that we cannot pull docker images using windows docker engine, and cannot push windows container to the linux registry. Is it true that using windows engine, we cannot do pull/push command from the linux registry? How can i push/pull windows container image from linux registry. thks.

    Besides, why we could use hub.docker.com to push/pull windows container images when i run these commands in windows engine.

    • Edited by vklonghml Wednesday, August 3, 2016 3:49 AM udpate
    Wednesday, August 3, 2016 1:29 AM
  • It definitely works, that's how I built my repos on Docker Hub, both pull and push works fine.

    https://hub.docker.com/u/coderobin/

    Wednesday, August 3, 2016 1:40 PM
  • Pushing and pulling of Windows based container images works with the Docker Hub. You can also create your own private docker registry in Linux and push Windows based container images to it. You will need user version 2 of the registry.

    Regards,
    Ender

    • Marked as answer by vklonghml Monday, August 15, 2016 9:05 AM
    Thursday, August 11, 2016 1:13 AM
    Moderator
  • Are there any other products out there besides docker hub that we can use. I was really hoping TFS could be the registry for my containers. If its the source for my code base and we are treating images like code then... seems like it would be right up the alley of TFS.


    Thanks,

    Wednesday, January 4, 2017 11:27 PM
  • Hi,

    Sonatype's Nexus Repository Manager can handle Docker images Nexus Repository Manager. It does, however, have problem with version 2 Docker manifest but I'm hoping it will be fixed soon: Manifest issue.

    I'm hoping to put Nexus into use as well just as soon as they can fix that.

    Regards,

    Janne

    Tuesday, January 10, 2017 7:10 AM