CategoriesUncategorized

Docker Helpers

Start Docker – Postgres Advanced run

docker run -d -v /home/user/Data/someplace:/var/lib/postgresql/data -e POSTGRES_USERNAME=coolusername -e POSTGRES_PASSWORD=mightypassword -e POSTGRES_DBNAME=databasename -p 55432:5432 postgres:latest

Docker running services

docker ps

Docker Run Simple example

docker run -p 8080:8080 <tag>

See Docker Images

docker images --all

Docker Build simple example

docker builder -t <tag> .

Resolve PV being full

docker-compose up --renew-anon-volumes --build db

Leave a Reply

Your email address will not be published. Required fields are marked *