Skip to content

Commit ab334fe

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 35edfb9 commit ab334fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/manuals/engine/install/ubuntu.md

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

178178
```console
179-
$ sudo docker run hello-world
179+
$ sudo docker run --rm hello-world
180180
```
181181

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

0 commit comments

Comments
 (0)