IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Run a database in a Docker container

Last modified: 10 August 2022

Required plugins: Docker and Database Tools and SQL (bundled)

You can use Docker to run a database in a container as if it were a remote server, and test how your application interacts with it. This tutorial describes how to run a Docker container with a PostgreSQL server and connect to it using IntelliJ IDEA.

Before you begin:

For more information about working with database sources in IntelliJ IDEA, see Database tools and SQL.