Published
- 1 min read
docker postgres create database
The solution for this is noted below
docker postgres create database
Solution
$ docker exec -it my_postgres psql -U postgres -c "create database my_database"
Try other methods by searching on the site. That is if this doesn’t work