From ab334febbefb4163d4ce71c528fb3df62c05b479 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 6 Feb 2024 20:35:11 +0100 Subject: [PATCH] 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). --- content/manuals/engine/install/ubuntu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/engine/install/ubuntu.md b/content/manuals/engine/install/ubuntu.md index 295bc5c1f7cb..6a91cc9bcc22 100644 --- a/content/manuals/engine/install/ubuntu.md +++ b/content/manuals/engine/install/ubuntu.md @@ -176,7 +176,7 @@ Docker from the repository. `hello-world` image. ```console - $ sudo docker run hello-world + $ sudo docker run --rm hello-world ``` This command downloads a test image and runs it in a container. When the