dockerdocker-composepermissionslxcproxmox

Wazuh Indexder throws /entrypoint.sh permission denied after running `docker-compose up`


I am setting up a Wazuh LXC container on proxmox by refering the Wazuh Official documentation:

My Debian LXC: Linux debian-wazuh 6.2.16-3-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-3 (2023-06-17T05:58Z) x86_64 GNU/Linux

Here's a link to the docker-compose.yml file

When I try to run docker-compose up -d the following error is thrown:

single-node_wazuh.manager_1 is up-to-date
Recreating single-node_wazuh.indexer_1 ... error

ERROR: for single-node_wazuh.indexer_1  Cannot start service wazuh.indexer: 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 wazuh.indexer  Cannot start service wazuh.indexer: 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.

An unresolved issue could be found on gh/wazuh-docker, however, I am not using Openshift.


Solution

  • The docker-compose link that you have shared belongs to version 4.5.3, this version is still under development so you should use the latest productive tag available, which according to the documentation is v4.5.2, please use the correct version and check if the problem still occurs