diff --git a/_includes/install-script.md b/_includes/install-script.md index 4146fef790..8fd80ff7e3 100644 --- a/_includes/install-script.md +++ b/_includes/install-script.md @@ -6,8 +6,8 @@ development environments non-interactively. The convenience script isn't recommended for production environments, but it's useful for creating a provisioning script tailored to your needs. Also refer to the [install using the repository](#install-using-the-repository) steps to learn -about installation steps to install using the package repository. The source -code for the script is open source, and can be found in the +about installation steps to install using the package repository. The source code +for the script is open source, and you can find it in the [`docker-install` repository on GitHub](https://github.com/docker/docker-install){:target="_blank" rel="noopener" class="_"}. diff --git a/engine/install/ubuntu.md b/engine/install/ubuntu.md index 4e9b7709e9..a96994d1f8 100644 --- a/engine/install/ubuntu.md +++ b/engine/install/ubuntu.md @@ -1,5 +1,5 @@ --- -description: Jumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install. +description: Jumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install. keywords: docker install script, ubuntu docker server, ubuntu server docker, install docker engine ubuntu, install docker on ubuntu server, ubuntu 18.04 docker-ce, install docker engine on ubuntu, ubuntu install docker ce, ubuntu install docker engine redirect_from: - /ee/docker-ee/ubuntu/ @@ -17,8 +17,8 @@ toc_max: 4 --- To get started with Docker Engine on Ubuntu, make sure you -[meet the prerequisites](#prerequisites), then -[install Docker](#installation-methods). +[meet the prerequisites](#prerequisites), and then follow the +[installation steps](#installation-methods). ## Prerequisites @@ -32,24 +32,25 @@ versions: - Ubuntu Focal 20.04 (LTS) - Ubuntu Bionic 18.04 (LTS) -Docker Engine is compatible with `x86_64` (or `amd64`), `armhf`, `arm64`, and -`s390x` architectures. +Docker Engine is compatible with x86_64 (or amd64), armhf, arm64, and +s390x architectures. ### Uninstall old versions Older versions of Docker went by the names of `docker`, `docker.io`, or -`docker-engine`. Uninstall any such older versions before attempting to install +`docker-engine`, you might also have installations of `containerd` or `runc`. +Uninstall any such older versions before attempting to install a new version: ```console $ sudo apt-get remove docker docker-engine docker.io containerd runc ``` -It's OK if `apt-get` reports that none of these packages are installed. +`apt-get` might report that you have none of these packages installed. Images, containers, volumes, and networks stored in `/var/lib/docker/` aren't automatically removed when you uninstall Docker. If you want to start with a -clean installation, and prefer to clean up any existing data, refer to the +clean installation, and prefer to clean up any existing data, read the [uninstall Docker Engine](#uninstall-docker-engine) section. ## Installation methods @@ -60,15 +61,15 @@ You can install Docker Engine in different ways, depending on your needs: [Docker Desktop for Linux](../../desktop/install/linux-install.md). This is the easiest and quickest way to get started. -- You can also set up and install Docker Engine from +- Set up and install Docker Engine from [Docker's `apt` repository](#install-using-the-repository). - [Install it manually](#install-from-a-package) and manage upgrades manually. -- Using a [convenience scripts](#install-using-the-convenience-script). Only +- Use a [convenience scripts](#install-using-the-convenience-script). Only recommended for testing and development environments. -### Install using the repository +### Install using the apt repository {#install-using-the-repository} Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update @@ -145,7 +146,7 @@ Docker from the repository.