Skip to content

Commit f86f796

Browse files
authored
add --rm to docker run line
This would avoid leaving a (stopped) container lying around, as can be seen in `docker ps -a`. I believe that, if you agree, multiple pages would want this change. Let me know and I'll push more commits (and I'm happy to squash afterwards).
1 parent 2fa2aac commit f86f796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/engine/install/ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Docker from the repository.
164164
`hello-world` image.
165165

166166
```console
167-
$ sudo docker run hello-world
167+
$ sudo docker run --rm hello-world
168168
```
169169

170170
This command downloads a test image and runs it in a container. When the

0 commit comments

Comments
 (0)