diff --git a/README.md b/README.md index 09db1eb..bcf1bd6 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Ou avec les commandes Docker : ```bash docker build -t notes . -docker run -d --name notes -p 8080:80 notes +docker run -d --rm --name notes -p 8080:80 notes ``` L'app sera accessible sur http://localhost:8080. diff --git a/dockerhub-overview.md b/dockerhub-overview.md index 8c1e5cd..a2e862a 100644 --- a/dockerhub-overview.md +++ b/dockerhub-overview.md @@ -18,7 +18,7 @@ L'image est servie par nginx et exposée sur le port 80. ### Docker ```bash -docker run -d --name notes -p 8080:80 devcodetools/notes:latest +docker run -d --rm --name notes -p 8080:80 devcodetools/notes:latest ``` Accédez ensuite à l'application sur http://localhost:8080.