Details
-
Bug
-
Resolution: Done
-
Critical - P2
-
None
-
None
-
None
-
Linux Ubuntu
Description
MongoDB installed in Linux ubuntu through the docker image.
I have set the parameters in yaml file like below to implement the authentication. But when i mount it using the command "docker-compose up -d", i am getting error like "Unsupported config option for 'db' service: 'security'". Could you please help me to resolve the issue.
docker-compose.yaml
******************************
db:
image: mongo:2.6.4
command: ["mongod", "--smallfiles"]
expose:
- "27017"
ports: - "27017:27017"
security:
keyFile: "/home/ubuntu/dockerlab/keyfile.key"
authorization: "enabled"
----------------
Thanks in advance - Ganesh J K