10.67 su - app docker pull postgres:12.15 docker run -d --name pgsql12 -p 5432:5432 -e "POSTGRES_PASSWORD=123456" postgres:12.15 psql --host=192.168.10.67 --port=5432 --username=postgres 内网: 10.41 psql --host=192.168.10.41 --port=5432 --username=postgres
docker pull postgres:12.15 docker run -d --name pgsql12 -p 5432:5432 -e "POSTGRES_PASSWORD=123456" postgres:12.15 标签:5432,pull,postgres,--,12.15,docker From: https://www.cnblogs.com/exmyth/p/17531601.html