Run the container of mongo image with name mongodb
docker run -d --name mongodb mongo
Execute shell of the container
docker exec -it mongodb sh
inside the container, just type
mongo
Run the container of mongo image with name mongodb
docker run -d --name mongodb mongo
Execute shell of the container
docker exec -it mongodb sh
inside the container, just type
mongo
For further actions, you may consider blocking this person and/or reporting abuse
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
AndersonPEM -
Hanzla Baig -
Ajeet Singh Raina -
Md Abu Musa -
Top comments (2)
Ok and why we need this exactly? A quality post looks other. Its less info than the text on the docker hub for the official image...
thanks for the response sir, i just want to share about my experience how to use it also as a reminder for me and i purposely wrote it like that to show the commands only without too much explanations. This is my first post, thank you for the feedback next time i will improve it.