...

/

Solution to Challenge: Running a Postgres Database

Solution to Challenge: Running a Postgres Database

Learn the solution to the challenge you completed.

We'll cover the following...

Solution

The following command will run the PostgreSQL:

docker run \
  -it --rm --name postgres \
  -p 3000:5432 \
  --mount "src=postgresdata,target=/var/lib/postgresql/dat
...