Is it possible to login into the postgres database inside the docker image?

这里有更新的说明吗?当我尝试这样做时,我得到:

root@endoffice-b:/var/discourse# su postgres -c "psql discourse"
No passwd entry for user 'postgres'

啊,等一下,重启后就好了,这个奏效了:

root@endoffice-b:/var/discourse# ./launcher enter app
x86_64 arch detected.
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
root@endoffice-b-app:/var/www/discourse# su postgres -c 'psql discourse'
psql (13.7 (Debian 13.7-1.pgdg110+1))
Type "help" for help.

基本上我需要启动 Docker 容器:

./launcher start app