Error exec /entrypoint.sh: no such file or directory when running Odoo 17 Docker image

オープン
#507 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, dockerfile

調査の方向性

まず 17.0 Dockerfile と参照されている entrypoint.sh を確認し、次に postgres:15 コンテナで報告された docker build コマンドと docker run コマンドを再現します。イメージがビルドされ、Odoo コンテナが http://localhost:8069 で起動することを確認し、entrypoint がない原因と、検証済みの起動コマンドを記録してください。

索引モデルが issue の本文から書いたものです。

説明

Issue: Error exec /entrypoint.sh: no such file or directory when running Odoo 17 Docker image

Description:

When I build the Docker image for Odoo 17 using the following command:

docker build -t odoo17 .

And then run the container using:

docker run -p 8069:8069 --name odoo --link db:db -t odoo17

I encounter the following error:

exec /entrypoint.sh: no such file or directory

Steps to Reproduce:

  1. Clone the official Odoo repository and navigate to the 17.0 directory.
  2. Build the Docker image with: docker build -t odoo17 .
  3. Run the Docker container for posgres docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:15
  4. Run the Docker container with: docker run -p 8069:8069 --name odoo --link db:db -t odoo17

Expected Behavior:
The Odoo container should start without errors, and the application should be accessible via http://localhost:8069.

Actual Behavior:
The container fails to start, displaying the error message: exec /entrypoint.sh: no such file or directory.

Additional Information:

  • The entrypoint.sh file exists in the 17.0 directory and is referenced in the Dockerfile.

I am unsure if my commands are incorrect or if there is an issue with the entrypoint.sh script. Any guidance or assistance would be greatly appreciated.

Thank you!

主要言語
Dockerfile
スター
1.2k
フォーク
1.7k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

odoo/docker のほかの issue

odoo/docker の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。