Skip to content

Files

Latest commit

fa64b77 · Oct 30, 2019

History

History

postgres

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 30, 2019
Oct 30, 2019
Oct 30, 2019

README.md

Create image

docker build -t postgres-test .

Start new PostgreSQL container from the image

docker run -d -p 5432:5432 --name postgres-test1 -e POSTGRES_PASSWORD=myPassword postgres-test

Connect to container to verify what's inside

docker exec -it postgres-test1 bash