diff --git a/docs/src/main/asciidoc/building-native-image-guide.adoc b/docs/src/main/asciidoc/building-native-image-guide.adoc index f156585346c20..dbe8251a48c76 100644 --- a/docs/src/main/asciidoc/building-native-image-guide.adoc +++ b/docs/src/main/asciidoc/building-native-image-guide.adoc @@ -212,7 +212,7 @@ And finally, run it with: [source] ---- -docker run -i -p 8080:8080 shamrock-quickstart/quickstart +docker run -i --rm -p 8080:8080 shamrock-quickstart/quickstart ---- == What's next?