This commit is contained in:
light
2018-02-12 16:27:08 +08:00
parent 2f93d4a638
commit ad583d960b
11 changed files with 159 additions and 2 deletions
+6
View File
@@ -31,3 +31,9 @@ EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
```
``` bash
docker run -p 27017:27017 -v $PWD/db:/data/db -d mongo:3.2
```