Skip to content

Commit

Permalink
Remove image with --rm when running Docker (#521)
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <[email protected]>
  • Loading branch information
jelovirt authored Dec 21, 2023
1 parent 4242a72 commit 08b12f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topics/creating-docker-images.dita
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Successfully tagged sample-docker-image:1.0
<example>
<title>Running the new container</title>
<p>You can then start a container based on your new image:</p>
<codeblock outputclass="syntax-bash">$ <cmdname>docker</cmdname> container run -it \
<codeblock outputclass="syntax-bash">$ <cmdname>docker</cmdname> container run --rm \
-v /path/to/dita-ot-dir/docsrc:/src sample-docker-image:1.0 \
-i /src/userguide.ditamap \
-o /src/out/dita-bootstrap \
Expand Down

0 comments on commit 08b12f8

Please sign in to comment.