下载mongo3.2的docker镜像:docker pull mongo:3.2
使用docker命令启动:docker run -p 27017:27017 --name mongo -v /mydata/mongo/db:/data/db -d mongo:3.2