Connection error when running MongoDB inside a container: connection refused

mongo is the client, mongod is the server.

So what you are doing is starting the client.

This product is already well containerised, but this is not the first self rolled container thread or the first singularity thread.

https://hub.docker.com/_/mongo

1 Like