docs/datacenter/dtr/2.1/guides/install/install-offline.md

1.7 KiB
Raw Blame History

title description keywords
Install Docker Trusted Registry offline Learn how to install Docker Trusted Registry on a machine with no internet access.
docker, registry, install, offline

The procedure to install Docker Trusted Registry on a node is the same, whether that node has access to the internet or not.

The only difference when installing DTR on an offline node, is that instead of pulling the DTR images from Docker Hub, you use a computer that is connected to the internet to download a single package with all DTR images. Then you copy that package to the nodes where youll install DTR.

  1. Get the DTR package.

    Use a computer with internet access to download a single package with all Docker Datacenter components:

    $ wget https://packages.docker.com/caas/ucp-2.0.0_dtr-2.1.0.tar.gz -O docker-datacenter.tar.gz
    
  2. Transfer the package to the offline nodes.

    Now that you have the DTR package in your machine, you can transfer it to the nodes that you want to install DTR. For each node run:

    $ scp docker-datacenter.tag.gz <user>@<host>:/tmp
    
  3. Login into the nodes where you transferred the images.

  4. Load the images.

    Once the package is on the nodes where you want to install DTR, you can use the docker load command, to load the images from the .tar file. On each node, run:

    $ docker load < /tmp/docker-datacenter.tar.gz
    
  5. Install DTR.

    Now that the offline node has all the images needed to install DTR, you can install DTR that host.

Where to go next