Error exec /entrypoint.sh: no such file or directory when running Odoo 17 Docker image
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
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:
- Clone the official Odoo repository and navigate to the
17.0directory. - Build the Docker image with:
docker build -t odoo17 . - 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 - 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.shfile exists in the17.0directory 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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the 17.0 Dockerfile and the referenced entrypoint.sh, then reproduce the reported docker build and docker run commands with the postgres:15 container. Confirm whether the image builds and the Odoo container starts at http://localhost:8069; document the cause of the missing entrypoint and the verified startup command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100