We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dbbb38 commit 78d8f7aCopy full SHA for 78d8f7a
docs/SUBPROJECTS.md
@@ -156,7 +156,7 @@ docker network connect app-network mongodb-server
156
Next, run the MongoDB container. You can pull the official MongoDB image and run it:
157
158
```bash
159
-docker run --name mongodb-server --network app-network -d -p 27017:27017 mongo
+docker run --rm --name mongodb-server --network app-network -d -p 27017:27017 mongo
160
```
161
162
This command runs MongoDB in a container named `mongo`, exposes port 27017 (the default MongoDB port), and runs it in detached mode.
0 commit comments