Thats a mongodb error, please check the repository the bash kraken file to see the flow of…
Cristian Ramirez
1

Hi Cristian,

Thanks for the guide.

I am also having the same problem with:

$ docker exec mongoNode1 bash -c 'mongo < /data/admin/admin.js'

producing this result:

Error: couldn't add user: not authorized on admin to execute command

What do you mean by “check the repository the bash kraken file to see the flow of installation”? What ‘bash kraken file’ are you referring to?

Like what you read? Give Peter Applebee a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.