1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Docker

Exercise

Running a container in the background

You got some projects set up already on your machine, but an urgent request has come in to fix a bug in your data ingestion pipeline. The pipeline is used to store data from different sources into a Postgres database. To search for the issue, you want to set up the project locally together with a Postgres database in a Docker container to ensure that fixing this bug doesn't affect anything else you are working on.

Instructions 1/2

undefined XP
  • 1
    • Using the terminal, enter the command to run the postgres image in the background.
  • 2
    • Make sure the container is running by listing all containers and verifying that you see a Postgres container running.