mirror of https://github.com/docker/docs.git
Merge pull request #309 from dgvigil/master
Moving sudo command after echo pipe for Ubuntu install
This commit is contained in:
commit
802121e482
|
@ -90,7 +90,7 @@ packages from the Docker repository:
|
|||
for the placeholder `<REPO>`.
|
||||
|
||||
```bash
|
||||
$ sudo echo "<REPO>" > /etc/apt/sources.list.d/docker.list
|
||||
$ echo "<REPO>" | sudo tee /etc/apt/sources.list.d/docker.list
|
||||
```
|
||||
|
||||
7. Update the `APT` package index.
|
||||
|
|
Loading…
Reference in New Issue