January 2019
Beginner to intermediate
352 pages
8h
English
After installing Docker on your machine, it's time to run the containerized version of PostgreSQL. In order to do so, open a new terminal window and launch the following command:
$ docker run --name postgres_vertx -e POSTGRES_PASSWORD=postgresPwd -e POSTGRES_DB=football_players_registry -d -p 5532:5432 postgres
This command triggers a pull from Docker's public registry for the PostgreSQL version labelled as the latest, downloading all the layers it needs to run the container on, as follows:
Unable to find image 'postgres:latest' locallylatest: Pulling from library/postgres683abbb4ea60: Pull completec5856e38168a: Pull completec3e6f1ceebb0: Pull complete3303bcd00128: Pull completeea95ff44bf6e: Pull complete ...
Read now
Unlock full access