mirror of https://github.com/docker/docs.git
Merge pull request #1640 from programmerq/patch-3
differentiate trusty and xenial in this step
This commit is contained in:
commit
3b6477ac4d
|
@ -101,9 +101,17 @@ to the `docker` group.
|
|||
|
||||
5. Add the repository for the new version:
|
||||
|
||||
for 14.04:
|
||||
|
||||
```bash
|
||||
$ echo "deb https://packages.docker.com/1.13/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
|
||||
```
|
||||
|
||||
for 16.04:
|
||||
|
||||
```bash
|
||||
$ echo "deb https://packages.docker.com/1.13/apt/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
|
||||
```
|
||||
|
||||
6. Run the following to install commercially supported Docker Engine and its
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in New Issue