3
Greeting, I just created a Docker image of the Postgresql database with some additional settings as shown in the command below:
docker run -p 15432:15432 --name kwandb -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=MorangocomUva1 -e POSTGRES_DB=kwan -d postgres:10.5-alpine
The seat is running as you can see in the image below:
I want to execute the command CREATE DATABASE guru99;
in the Postgresql database, but this is a Docker image, as I will find in the database image to create the database?
I know how to do this when the database is installed locally on my operating system, but here is an image.
What does it mean
-p 15432:15432
of your command?– Woss
means I’m running the database on port 15432
– wladyband
I just need to get into the container terminal of the postgres database
– wladyband