# docker pull postgres:latest

# docker run -p 5432:5432 -e POSTGRES_PASSWORD=pass -e POSTGRES_USER=xit -e POSTGRES_DB=springdata --name postgres_boot -d postgres

# docker exec -i -t postgres_boot bash

# su - postgres

docker images
docker ps -a
docker rm [컨테이너id]
docker rmi [이미지id]

docker stop|start|restart [도커명]






