Skip to content

Commit d881d4a

Browse files
committed
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 08bcc39 commit d881d4a

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
@@ -165,7 +165,7 @@ Docker from the repository.
165165
`hello-world` image.
166166

167167
```console
168-
$ sudo docker run hello-world
168+
$ sudo docker run --rm hello-world
169169
```
170170

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

0 commit comments

Comments
 (0)