-- pull postgres image --
docker pull postgres

-- start container --
docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=password --name postgres postgres
    a. command will not automatically create any database on container startup

or

docker run -d -p 5433:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_DB=fakedatabase --name postgres postgres
    a. command will automatically create the database on container startup
    b. replace the INIT_DB value with db name

-- stop container --
docker stop postgres

-- remove container --
docker rm postgres
