docker를 설치하고 현재 사용자에게 권한을 준다(기본 root권한 필요)
$ curl -fsSL https://get.docker.com/ | sudo sh
$ sudo usermod -aG docker $USER
netstat -anp | grep 5432 $ docker run -d -p 5432:5432 –name pgsql -e POSTGRES_PASSWORD=mypassword postgres
$ docker container ls -a
$ docker images
$ docker stop ${docker container id}
$ docker restart ${docker container id}