容易出现的问题
1.The POSTGRESQL_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow the container to be started with blank passwords. This is recommended only for development.
2.mkdir: cannot create directory ‘/bitnami/postgresql/data’: Permission denied
目前碰到这两个安装问题.
解决方案[对应问题序号]
1. 修改环境变量,增加下面两项 [xxx = 自定义]
POSTGRES_USER=xxx
POSTGRES_PASSWORD=xxx

2.飞牛nas默认路径为:/vol1 开头。 可以改成
/vol1/dk/bitnami/postgresql
/vol1/dk/bitnami/docker-entrypoint-initdb.d
/vol1/dk/bitnami/docker-entrypoint-preinitdb.d
DK = 随便你,只是我随便写的。

两个问题改好就可以使用了。