Course lesson
Install Docker to run local MongoDB Container
Get started with MongoDB and Docker really quick π₯ even if you have no backend/fullstack experience.
- Duration
- 6 min
- Access
- Free
- Transcript
- Needs source
Get started with MongoDB and Docker really quick π₯ even if you have no backend/fullstack experience.
This lesson guides you through installing Docker Desktop and setting up a MongoDB image.
We explain Docker images and containers, and their roles in providing isolated software environments.
We run a MongoDB image in 2 ways: using the terminal and Docker Desktop
We demonstrates configuring port settings for a container and accessing the MongoDB shell (mongosh) to interact with the database.
We learn how to manage Docker containers, configure settings, and run commands inside the container.
Grab the CLI command: π₯ docker run --name some-mongo -d mongo:latest π₯