BUILD(LOAD) & RUN Build image: docker build -t pluto_db . OR Load image from tar: docker load -i pluto_db_image_vXX.tar Run image: docker run --name pluto_db -p 5432:5432 pluto_db docker start %CONTAINER_ID% Remove container on stop: docker run --rm -p 5432:5432 pluto_db To run image with password use the POSTGRES_PASSWORD env var: docker run --name pluto_db -e POSTGRES_PASSWORD="your-password" -p 5432:5432 pluto_db Set the user or DB name through the POSTGRES_USER, POSTGRES_DB env vars if needed MAINTENANCE Get image ID: docker ps Bash to image shell: docker exec -it %IMAGE_ID% bash (Midnight commander is installed) psql -h localhost -U pluto