clefos/postgresqlQuick Start (not recommended for production use)
docker run --name=postgresql -d -p 5432:5432 <yourname>/postgresql
To connect to the container as the administrative postgres user:
docker run -it --rm --volumes-from=postgresql <yourname>/postgres sudo -u postgres -H psql
Creating a database at launch
You can create a postgresql superuser at launch by specifying DB_USER and
DB_PASS variables. You may also create a database by using DB_NAME.
docker run --name postgresql -d \ -e 'DB_USER=username' \ -e 'DB_PASS=ridiculously-complex_password1' \ -e 'DB_NAME=my_database' \ <yourname>/postgresql
To connect to your database with your newly created user:
psql -U username -h $(docker inspect --format {{.NetworkSettings.IPAddress}} postgresql)

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务