Do you know if there is a way to create a docker repository of docker application updates something like apt-repository? I am looking to create a VM of a docker repository mirror of download.docker.com and point all my host machines that host then point the repository VM to download the updates from the docker repository.
Let me rephrase what you wrote: you want to have a private registry that acts as a pull through cache.
I am slightly confused when you mention the term registry. Just to be clear let me rephrase it.
In order to install docker on a VM which never has had installed with docker before, the release file for docker will connect to https://download.docker.com/linux/ to download the appropriate os release. I wanted to know if there is a way to setup a repository like download.docker.com locally in our enterprise system to prevent all hosts to access the public network.
@meyay : Thanks for your earlier input by the way.
Docker Hub is a public registry. In my previous response I mentioned some products that allow to run a privat registry capable of proxying/caching repositores from Docker Hub.
Maybee this mapping helps to understand the wording differences:
Apt repository ~= Container-Image Registry
Apt package ~= Container-Image Repository
Apt package version ~= Tag for a specific Container-Image Repository.
To use the pull through cach, you will have to address images with
fqdn-of-private-registry[:port-if-anything-different-than-port-443]/group/repository:tag instead just
update: Oh, I complety missunderstood you. You realy just want to cache the apt packes to install the docker engine. Forget what I wrote. Artifactory and Nexus3 should be able to provide a local apt repo.
Perfect, I will refer to your previous suggestions and go through them. Thanks.