HELP I am having this error everytime I start docker container.
This is the configuration in docker-compose.yml
database:
container_name: qrcodesite_db
image: mongo
ports :
- 27017:27017
command : ["mongod"]
volumes :
- ./db-volume:/data/db:rw
- ./temp:/temp:rw
environment:
- MONGO_INITDB_ROOT_USERNAME=
- MONGO_INITDB_ROOT_PASSWORD=
- MONGO_INITDB_DATABASE=
The command is something that i wanted to try to ommit the --fork option but does not help either. Also tried mounting the volume for /temp. This is an ubuntu server btw. Weird thing is I tested the config on Docker for Windows at other ubuntu server and it worked. I also don’t know how to recreate the problem.