Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diyan/pgcli-docker
pgcli in a tiny Docker image powered by Alpine Linux
https://github.com/diyan/pgcli-docker
Last synced: about 1 month ago
JSON representation
pgcli in a tiny Docker image powered by Alpine Linux
- Host: GitHub
- URL: https://github.com/diyan/pgcli-docker
- Owner: diyan
- License: mit
- Created: 2016-01-10T12:35:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T17:06:21.000Z (over 6 years ago)
- Last Synced: 2024-08-01T22:53:05.865Z (3 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pgcli-docker
pgcli in a tiny Docker image powered by Alpine Linux# How to use this image
Print help:
```bash
docker run --rm diyan/pgcli --help
```Run PostgreSQL server if you don't have it:
```bash
docker run -d --name=postgres \
-p 5432:5432 \
-e POSTGRES_PASSWORD=secret \
postgres:9.5
```Run pgcli:
```bash
docker run --rm -ti --name=pgcli \
-e PGPASSWORD=secret \
--link=postgres:postgres \
diyan/pgcli \
--host=postgres \
--dbname=postgres \
--user=postgres
```