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

Tutorial: Run a database in a Docker container

Last modified: 09 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 RubyMine.

Before you begin:

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