mirror of https://github.com/docker/docs.git
update install instructions of latest docker-ce to include containerd
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
parent
7a6c818ff4
commit
49b80a76cc
|
@ -130,10 +130,10 @@ from the repository.
|
|||
|
||||
#### Install Docker CE
|
||||
|
||||
1. Install the _latest version_ of Docker CE, or go to the next step to install a specific version:
|
||||
1. Install the _latest version_ of Docker CE and containerd, or go to the next step to install a specific version:
|
||||
|
||||
```bash
|
||||
$ sudo yum install docker-ce
|
||||
$ sudo yum install docker-ce containerd.io
|
||||
```
|
||||
|
||||
If prompted to accept the GPG key, verify that the fingerprint matches
|
||||
|
@ -172,7 +172,7 @@ from the repository.
|
|||
a hyphen (`-`). For example, `docker-ce-18.09.1`.
|
||||
|
||||
```bash
|
||||
$ sudo yum install docker-ce-<VERSION STRING>
|
||||
$ sudo yum install docker-ce-<VERSION STRING> containerd.io
|
||||
```
|
||||
|
||||
Docker is installed but not started. The `docker` group is created, but no users are added to the group.
|
||||
|
|
|
@ -171,10 +171,10 @@ from the repository.
|
|||
$ sudo apt-get update
|
||||
```
|
||||
|
||||
2. Install the _latest version_ of Docker CE, or go to the next step to install a specific version:
|
||||
2. Install the _latest version_ of Docker CE and containerd, or go to the next step to install a specific version:
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install docker-ce
|
||||
$ sudo apt-get install docker-ce containerd.io
|
||||
```
|
||||
|
||||
> Got multiple Docker repositories?
|
||||
|
@ -202,7 +202,7 @@ from the repository.
|
|||
for example, `5:18.09.1~3-0~debian-stretch `.
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install docker-ce=<VERSION_STRING>
|
||||
$ sudo apt-get install docker-ce=<VERSION_STRING> containerd.io
|
||||
```
|
||||
|
||||
4. Verify that Docker CE is installed correctly by running the `hello-world`
|
||||
|
|
|
@ -122,10 +122,10 @@ from the repository.
|
|||
|
||||
#### Install Docker CE
|
||||
|
||||
1. Install the _latest version_ of Docker CE, or go to the next step to install a specific version:
|
||||
1. Install the _latest version_ of Docker CE and containerd, or go to the next step to install a specific version:
|
||||
|
||||
```bash
|
||||
$ sudo dnf install docker-ce
|
||||
$ sudo dnf install docker-ce containerd.io
|
||||
```
|
||||
|
||||
If prompted to accept the GPG key, verify that the fingerprint matches
|
||||
|
@ -164,7 +164,7 @@ from the repository.
|
|||
`docker-ce-3:18.09.1`.
|
||||
|
||||
```bash
|
||||
$ sudo dnf -y install docker-ce-<VERSION STRING>
|
||||
$ sudo dnf -y install docker-ce-<VERSION STRING> containerd.io
|
||||
```
|
||||
|
||||
Docker is installed but not started. The `docker` group is created, but no users are added to the group.
|
||||
|
|
|
@ -206,10 +206,10 @@ from the repository.
|
|||
$ sudo apt-get update
|
||||
```
|
||||
|
||||
2. Install the _latest version_ of Docker CE, or go to the next step to install a specific version:
|
||||
2. Install the _latest version_ of Docker CE and containerd, or go to the next step to install a specific version:
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install docker-ce
|
||||
$ sudo apt-get install docker-ce containerd.io
|
||||
```
|
||||
|
||||
> Got multiple Docker repositories?
|
||||
|
@ -237,7 +237,7 @@ from the repository.
|
|||
for example, `5:18.09.1~3-0~ubuntu-xenial`.
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install docker-ce=<VERSION_STRING>
|
||||
$ sudo apt-get install docker-ce=<VERSION_STRING> containerd.io
|
||||
```
|
||||
|
||||
4. Verify that Docker CE is installed correctly by running the `hello-world`
|
||||
|
|
Loading…
Reference in New Issue