Search⌘ K
AI Features

Using MongoDB

Explore how to install and use MongoDB both on a local machine and within a Docker container. Learn the essential Docker commands to create and manage MongoDB containers with persistent storage and exposed ports, supporting backend application development.

Introduction

There are many ways to use the MongoDB Server.

Use MongoDB on a local machine

MongoDB can be used locally. To learn how to install MongoDB, be sure to check the MongoDB installation guide.

Use MongoDB with Docker

We follow the steps below to use MongoDB with Docker: ...