Answers for "postgres docker image"

1

postgresql docker

docker run --rm -it -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_USER=postgres -e POSTGRES_DB=InitialDB postgres
Posted by: Guest on September-17-2021
2

docker run postgres locally

$ docker run -d --name my_postgres -v my_dbdata:/var/lib/postgresql/data -p 54320:5432 postgres:11
Posted by: Guest on March-18-2020
1

docker create postgres db

# inside Dockerfile
COPY your_sql_file.sql /docker-entrypoint-initdb.d/
Posted by: Guest on January-04-2021

Code answers related to "postgres docker image"

Browse Popular Code Answers by Language