# Using Docker with Go and MongoDB

DevFeed: [Using Docker with Go and MongoDB](<https://devfeed.tech/articles/get-hyped-using-docker-go-with-mongodb-21802.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/08/get-hyped-using-docker-go-mongodb/>)

Author: Anaiya Raisinghani

Published: 2021-08-18T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [API](<https://devfeed.tech/topics/api.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [dependency-management](<https://devfeed.tech/tags/dependency-management.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [docker](<https://devfeed.tech/tags/docker.md>), [go](<https://devfeed.tech/tags/go.md>), [golang](<https://devfeed.tech/tags/golang.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

This tutorial explains how to use Docker to create a consistent development environment for a Go application connected to MongoDB. It covers prerequisites, project setup, Go modules, the MongoDB Go driver, and building a Go API.

## Source excerpt

In the developer community, ensuring your projects run accurately regardless of the environment can be a pain. Whether it's trying to recreate a demo from an online tutorial or working on a code revie... The post Get Hyped: Using Docker + Go with MongoDB appeared first on MongoDB.