After building the oodo images using dockerfile 16.0 when i try to run image using docker-compose i am facing error
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
ERROR: for myportal_odoo_1 Cannot start service odoo: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint.sh": permission denied: unknown
ERROR: for odoo Cannot start service odoo: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint.sh": permission denied: unknown
ERROR: Encountered errors while bringing up the project.
my docker-compose file
version: '3'
services:
nginx proxy container
nginx-proxy:
image: jwilder/nginx-proxy
network_mode: bridge
container_name: nginx-proxy
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- certs:/etc/nginx/certs
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- dhparam:/etc/nginx/dhparam
- "/var/run/docker.sock:/tmp/docker.sock:ro"
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
letsencrypt cert container
nginx-proxy-letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
network_mode: bridge
container_name: nginx-proxy-letsencrypt
restart: always
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
volumes:
- certs:/etc/nginx/certs
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- acme:/etc/acme.sh
- "/var/run/docker.sock:/var/run/docker.sock:ro"
postgres:
image: postgres:12.0
network_mode: bridge
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
depends_on:
- nginx-proxy
- nginx-proxy-letsencrypt
odoo:
image: myportal:1 #Building own image from base code-16.0
network_mode: bridge
command: start
links:
- postgres:db
ports:
- "8069:8069"
environment:
- ODOO_ADMIN_PASSWORD=P@ssw0rd@123
- ODOO_DB_USER=odoo
- ODOO_DB_PASSWORD=odoo
- VIRTUAL_HOST=myportal.talenciaglobal.com #change it to your host
- LETSENCRYPT_HOST=myportal.talenciaglobal.com #change it to your host
- LETSENCRYPT_EMAIL= basavarajbhavi@ymail.com #change it to your email
- VIRTUAL_PORT="8069"
volumes:
- ./volumes/odoo/filestore:/opt/odoo/data/filestore
- ./volumes/odoo/sessions:/opt/odoo/data/sessions
depends_on:
- nginx-proxy
- nginx-proxy-letsencrypt
volumes:
certs:
conf:
vhost:
html:
acme:
dhparam:
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 with the Dockerfile for Odoo 16.0 and the supplied docker-compose configuration, focusing on how /entrypoint.sh is copied and invoked. Reproduce the failure with the myportal:1 image and docker-compose, then confirm that the odoo service starts successfully without the /entrypoint.sh permission error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, dockerfile
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100