こんにちは。
DiscourseソフトウェアのDockerコンテナをテストしようとしています。PostgreSQLがバンドルされており、すべてのデータベースが設定済みですぐに使用できると聞いたからです。Dockerの bitnami:discourse:latest を使用しています…ターミナルに次のような表示が出ています。
1. [Containers](app://dd/dashboard/containers)
2. /
3. tester
### tester
[bitnami/discourse:latest](app://dd/dashboard/images/local/details?imageId=sha256%3Aad71ab26c224ab1d50f4f57ec5ddbc7a549ff331f3cf442860307358d59f79d5&nameHint=bitnami%2Fdiscourse%3Alatest&nameHintType=image-identity)
440:3000
**STATUS**
Exited (1) (0 seconds ago)
LogsInspectBind mountsExecStats
2025-05-16 15:43:26
discourse 19:43:26.78 INFO ==>
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==> Welcome to the Bitnami discourse container
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==> Subscribe to project updates by watching [https://github.com/bitnami/containers](https://github.com/bitnami/containers)
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==> Did you know there are enterprise versions of the Bitnami catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Bitnami Premium or Tanzu Application Catalog. See [https://www.arrow.com/globalecs/na/vendors/bitnami/](https://www.arrow.com/globalecs/na/vendors/bitnami/) for more information.
2025-05-16 15:43:26
discourse 19:43:26.79 INFO ==>
2025-05-16 15:43:26
discourse 19:43:26.80 INFO ==> Validating settings in POSTGRESQL_CLIENT_* env vars
2025-05-16 15:43:26
discourse 19:43:26.85 WARN ==> Hostname postgresql could not be resolved, this could lead to connection issues
2025-05-16 15:43:26
discourse 19:43:26.86 WARN ==> Hostname redis could not be resolved, this could lead to connection issues
2025-05-16 15:43:26
discourse 19:43:26.86 WARN ==> The DISCOURSE_DATABASE_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.
2025-05-16 15:43:26
discourse 19:43:26.86 WARN ==> The DISCOURSE_REDIS_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow a blank password. This is only recommended for development environments.
2025-05-16 15:43:26
discourse 19:43:26.86 INFO ==> Creating Discourse configuration file
2025-05-16 15:43:26
discourse 19:43:26.90 INFO ==> Ensuring Discourse directories exist
2025-05-16 15:43:26
discourse 19:43:26.91 INFO ==> Trying to connect to the database server
2025-05-16 15:44:27
discourse 19:44:27.12 ERROR ==> Could not connect to the database
データベースは初回実行時に設定されると思っていたのですが、どうすればよいかご存知の方はいらっしゃいますか?また、これを理解するためのGitbookやガイドのようなものはありますか?サードパーティ製であり、直接マシンにインストールされるべきだと認識していますが、Debianのような空のOSからDockerコンテナで動作するのでしょうか?
正直なところ、ソフトウェアのバックエンドを完全に確認したいだけで、その後コンテナは削除するつもりです。そのため、すぐに起動できるものを探しています。
Dockerを使用する最善の方法は何でしょうか?
ターミナルから実行すると、この画面で止まってしまい、Discourseのスクリプトが見つかりません。実際、bin の下のフォルダはすべて空です。
alex@PollockFarm Scripts % docker run -ti --rm bitnami/discourse /bin/bash
discourse 19:43:37.88 INFO ==>
discourse 19:43:37.88 INFO ==> **Welcome to the Bitnami discourse container**
discourse 19:43:37.88 INFO ==> Subscribe to project updates by watching **https://github.com/bitnami/containers**
discourse 19:43:37.89 INFO ==> Did you know there are enterprise versions of the Bitnami catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Bitnami Premium or Tanzu Application Catalog. See https://www.arrow.com/globalecs/na/vendors/bitnami/ for more information.
discourse 19:43:37.89 INFO ==>
よろしくお願いします。
Alex