Install Docker Trusted Registry offlineEstimated reading time: 2 minutes
These are the docs for DTR version 2.1
To select a different version, use the selector below.
The procedure to install Docker Trusted Registry on a host is the same, whether that host has access to the internet or not.
The only difference when installing on an offline host, is that instead of pulling the UCP images from Docker Hub, you use a computer that is connected to the internet to download a single package with all the images. Then you copy that package to the host where you’ll install DTR.
Download the offline package
Use a computer with internet access to download a single package with all Docker Datacenter components:
$ wget <package-url> -O docker-datacenter.tar.gz
Now that you have the package in your local machine, you can transfer it to the machines where you want to install DTR.
For each machine where you want to install DTR:
Copy the Docker Datacenter package to that machine.
$ scp docker-datacenter.tar.gz <user>@<host>:/tmp
Use ssh to login into the hosts where you transferred the package.
Load the Docker Datacenter images.
Once the package is transferred to the hosts, you can use the
docker loadcommand, to load the Docker images from the tar archive:
$ docker load < docker-datacenter.tar.gz
Now that the offline hosts have all the images needed to install DTR, you can install DTR on that host.