Installing Docker in Airgapped Environments

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 6 / RHEL 6 1.7.1
CentOS 7 / RHEL 7 20.10.7
CentOS 8 / RHEL 8 20.10.7
CentOS 9 / RHEL 9 24.0.2
Ubuntu 14.04 18.06.1
Ubuntu 16.04 19.03.8
Ubuntu 18.04 24.0.2
Ubuntu 20.04 24.0.2
Ubuntu 22.04 24.0.2
Debian 7 (Wheezy) 18.03.1
Debian 8 (Jessie) 18.06.2
Debian 9 (Stretch) 19.03.8
Debian 10 (Buster) 24.0.2
Amazon Linux 2 20.10.7
Amazon Linux 18.03.1
Oracle 6 17.05.0
Oracle 7 20.10.7
Oracle 8 20.10.7

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.