{% assign section = include.section %} {% comment %} Include a chunk of this file, using variables already set in the file where you want to reuse the chunk. Usage: {% include ee-linux-install-reuse.md section="ee-install-intro" %} {% endcomment %} {% if section == "ee-install-intro" %} There are two ways to install and upgrade [Docker Enterprise](https://www.docker.com/enterprise-edition/){: target="_blank" class="_" } on {{ linux-dist-long }}: - [YUM repository](#repo-install-and-upgrade): Set up a Docker repository and install Docker Engine - Enterprise from it. This is the recommended approach because installation and upgrades are managed with YUM and easier to do. - [RPM package](#package-install-and-upgrade): Download the {{ package-format }} package, install it manually, and manage upgrades manually. This is useful when installing Docker Engine - Enterprise on air-gapped systems with no access to the internet. {% if linux-dist == "rhel" or linux-dist == "oraclelinux" %} Docker Engine - Community is _not_ supported on {{ linux-dist-long }}. {% endif %} {% if linux-dist == "centos" %} For Docker Community Edition on {{ linux-dist-cap }}, see [Get Docker Engine - Community for CentOS](/install/linux/docker-ce/centos.md). {% endif %} {% elsif section == "find-ee-repo-url" %} To install Docker Enterprise, you will need the URL of the Docker Enterprise repository associated with your trial or subscription: 1. Go to [https://hub.docker.com/my-content](https://hub.docker.com/my-content){: target="_blank" class="_" }. All of your subscriptions and trials are listed. 2. Click the **Setup** button for **Docker Enterprise Edition for {{ linux-dist-long }}**. 3. Copy the URL from **Copy and paste this URL to download your Edition** and save it for later use. You will use this URL in a later step to create a variable called, `DOCKERURL`. {% elsif section == "using-yum-repo" %} The advantage of using a repository from which to install Docker Engine - Enterprise (or any software) is that it provides a certain level of automation. RPM-based distributions such as {{ linux-dist-long }}, use a tool called YUM that work with your repositories to manage dependencies and provide automatic updates. {% elsif section == "set-up-yum-repo" %} You only need to set up the repository once, after which you can install Docker Engine - Enterprise _from_ the repo and repeatedly upgrade as necessary. {% if linux-dist == "rhel" %}