Docker Community Forums

Share and learn in the Docker community.

The docke container exits automatically

docker

(Hucheng19950813) #1

If I trying to mount volume with Docker for Windows with workspace, the docker container exits automatically.But,if not,then normal

those my command

docker run -p 27017:27017 -v //e/dockervolume/mongo/db:/data/db -d mongo:3.2

docker run --name some-mongo -p27017:27017 -d mongo:3.2

env docker for windows10 pro