I have follwed this doc https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-with-docker/ to Install MongoDB Enterprise with Docker and able to access the mongo db in the docker. (MongoDB version 5 is used)
Everything is fine so far.
Now I want to enbale “Encryption at rest” inside the docker with the local-key-management approach. Document followed by me (https://docs.mongodb.com/manual/tutorial/configure-encryption/#local-key-management).
When I execute command mongod --enableEncryption --encryptionKeyFile mongodb-keyfile
I got below error:
Please help me to resolve this issue or let me know how to enable Encryption at rest in mongodb docker container.
Thanks