Answers for "how to recreate postgres database in docker"

1

how to recreate postgres database in docker

docker compose down
docker compose up --force-recreate
Posted by: Guest on June-03-2021
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 "how to recreate postgres database in docker"

Browse Popular Code Answers by Language