Skip to content

paulanti/pgcli-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build

docker build . -t pgcli

Run and connect to database in local postgres container

docker run -it --rm --link $postgres_container_name:postgres pgcli

or

docker run -it --rm --link $postgres_container_name:postgres pgcli postgresql://$user:$password@$host:$port/$db_name

Run and connect to external database

docker run -it --rm pgcli postgresql://$user:$password@$host:$port/$db_name

About

pgcli in Docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors