A docker image for postgres, but better.
$ docker run --rm -it --name postgres -d achillesrasquinha/postgres
Name | Help |
---|---|
help |
Display the help message and exit. |
backup |
Backup files and databases. |
backups |
List all backups. |
restore |
/path/to/backup Restore a DataBase backup. |
check |
Check status of PostGreSQL server. |
shell |
Launch pgcli shell. |
$ docker exec -it postgres "<command>"
e.g.
$ docker exec -it postgres check
OK
This repository has been released under the MIT License.