1. 程式人生 > >Docker之安裝postresql

Docker之安裝postresql

    如下,下載映象過程略,實際使用時最好加上卷

docker run -d -p 5444:5432 -e POSTGRES_USER=blog -e POSTGRES_DB=blog -e POSTGRES_PASSWORD=123 --name post-db postgres:9.6

 

參考官網 https://hub.dock