Skip to content

Dockerfile for Postgres 9.3 on Ubuntu with Italian encoding

Notifications You must be signed in to change notification settings

shortsteps/postgres-9.3-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

#Build an image

docker build -t postgres:9.3 .

#Run a container

docker run -p 5432:5432 -d --name db_postgres --restart=always postgres:9.3

#Connect to Postgres

psql -h localhost -p 5432 -U postgres -W

psql -h localhost -p 5432 -U pguser -W pgdb

#Connect to bash into container

docker exec -ti -u root db_postgres bash

About

Dockerfile for Postgres 9.3 on Ubuntu with Italian encoding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published