Answers for "postgresql container example"

9

docker postgres

$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
Posted by: Guest on September-17-2020
0

container postgres

docker run --name teste-postgres --network=postgres-network -e "POSTGRES_PASSWORD=Postgres2018!" -p 5432:5432 -v /home/renatogroffe/Desenvolvimento/PostgreSQL:/var/lib/postgresql/data -d postgres
Posted by: Guest on May-21-2021
0

postgres container psql

psql -h localhost -p 5432
Posted by: Guest on April-20-2021
0

postgres container psql

psql -h hostname -U username -d database_name
Posted by: Guest on April-20-2021

Browse Popular Code Answers by Language