Open MElkmeshi opened 1 month ago
Steps to Reproduce:
- Clone the official Odoo repository and navigate to the
17.0
directory.- 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
From docker build --help
-t, --tag stringArray Name and optionally a tag (format: "name:tag")
From docker run --help
-t, --tty Allocate a pseudo-TTY
Perhaps step four is doing something unexpected?
it was in the docker offical docker image
and I tried without it and it didn't work
I think it's something wrong with the build command
Why not just start with the publicly available odoo:17 image? It is easy enough to extend that image with a Dockerfile like:
FROM odoo:17
USER root
# customization
USER odoo
I want to make my own image for odoo 17.2
I want to make my own image for odoo 17.2
Makes perfect sense, but IMHO, you shouldn't have to. See https://github.com/odoo/docker/issues/385.
Issue: Error
exec /entrypoint.sh: no such file or directory
when running Odoo 17 Docker imageDescription:
When I build the Docker image for Odoo 17 using the following command:
And then run the container using:
I encounter the following error:
Steps to Reproduce:
17.0
directory.docker build -t odoo17 .
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:15
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:
entrypoint.sh
file exists in the17.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!