docker run commands in mongo code example
Example: docker run commands in mongo
sudo docker run -d -p 27017:27017 --name mongodb mongo:latest
sudo docker start mongodb
sudo docker exec -it mongodb mongo
sudo docker run -d -p 27017:27017 --name mongodb mongo:latest
sudo docker start mongodb
sudo docker exec -it mongodb mongo