Install MySQL, PostgreSQL, and MongoDB using Docker

In this blog post, I will show you how to install MySQL, PostgreSQL, and MongoDB databases using Docker. You will need to have Docker installed on your computer.  If you do not have Docker install follow the directions here for your operating system to install it.

Install MySQL

Use this Docker command to install latest version MySQL:

 

Install PostgreSQL

Use this Docker command to install the latest version of PostgreSQL:

 

Install MongoDB

Use this Docker command to install the latest version of MongoDB:

 

Conclusion

In this blog, post, you learned how to install three different databases using Docker. You can read more about Docker here.

About the Author Harrison Brock

Harrison Brock is a software engineer that focuses on Full Stack web development

follow me on: