Here in this article, will pull and run the mongoDB and mongo express using
a network bridge. Such that both can be run on the docker container
internally and will expose the mongo express to the user to access.
First, will list the available network.
Now will create a new network that we make a bridge for mongoDB and mongo
express
Next will run the mongo image from the docker hub and pass the necessary
parameters.
Then, will configure the mongo express by running the image from docker
hub
After that, we can verify the available images for mongo and mongo
express
And check the running status of container.
Now navigate to the mongo express exposed port 8081 on localhost
http://localhost:8081


0 Comments