version: "3"
services:
mongo:
image: mongo
working_dir: /c/data/
ports:
- 27017:27017
deploy:
replicas: 1
volumes:
- /c/data/:/data/db
I am tried that above stack file and I'm receiving exit code 14 error please give me the solution about the error,
In your terminal:
docker system prune
Works for me. Kew Approves =)
Delete everything from /c/data/
, in case there are some data from older version of Mongo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With