Installing Docker in an Airgapped Environment

Installing a supported version of Docker on a server that does not have any internet access is a simple process, but it can require you to install a few dependencies. Most airgapped environments will still have access to yum and apt, but they will be pointing to local mirrors.

First we must locate and download the desired package of Docker from one of the official repositories:

Note: Some distributions do not support newer versions of Docker, Replicated will continue to support a minimum 1.7.1 version of Docker. We recommend that your customers install the latest Replicated supported version of Docker, see the table below.

OS Highest Docker Version Supported in Replicated
CentOS 7 / RHEL 7 17.06.2-ce
Ubuntu 12.04 (precise) / 14.04 (trusty ) / 15.10 (wily) / 16.04 17.06.2-ce
Fedora 22 17.06.2-ce
Debian 7 (Wheezy) / 8 (Jessie) 17.06.2-ce
Ubuntu 15.04 (vivid) 1.9.1
Fedora 21 1.9.1
CentOS 6 / RHEL 6 1.7.1
Ubuntu 14.10 (utopic) 1.7.1

Once the correct package has been downloaded and transferred to the airgapped machine they need to install it using one of the following commands:

rpm (CentOS/RHEL/Fedora)

rpm -ivh <package_name>.rpm

dpkg (Ubuntu/Debian)

dpkg --install <package_name>.deb

Different versions of Docker require different dependencies that may have to be manually downloaded/transferred/installed to the airgapped machine. Your customers will have to follow the same procedure for each one of those dependencies.

Make sure you take a look at our Docs for the rest of the Airgapped installation instructions.