docker mongo client code example Example: mongodb docker docker run -d -p 27017-27019:27017-27019 --name mongodb mongo:4.0.4