docker Mirror Address: https://hub.docker.com/_/postgres/
https://www.widuu.com/chinese_docker/examples/postgresql_service.html
docker run --name some-postgres -e POSTGRES_PASSWORD=yz@10086 -v /opt/data/postgresql:/var/lib/postgresql/data -d postgres
Where: POSTGRES_PASSWORD is the password, the default user name is postgres. / Opt / data / postgresql persistent data is a directory. The default port number 5432
Does not support remote access, you require additional configuration?