mirror of https://github.com/docker/docs.git
fix: Moving sudo command after echo pipe
This commit is contained in:
parent
f40170a796
commit
8341768fd7
|
@ -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