I am trying to install on a VM with Ubuntu 22.04 Camunda 8 self managed using docker compose.
I have installed Portainer for an easier way to manage the containers.
I am using the latest version from the GitHub.
Operate and Tasklist containers are starting and immediately stopping due to some permissions lack (the same for both): exec /sbin/tini: permission denied
I have tried several solutions but they still don’t work so i am kind of stuck.
i used privileged mode in docker compose (in the yaml file and also from portainer)
i created custome docker files for operate and tasklist to adjust permissions
i tried to temporary fix manually from inside the containers.
To simulate the same setup as you, i installed Ubuntu/Docker/Portainer. I was able to run the docker compose and able to view in the Portainer console.
I attached a print screen from my Portainer itf. When i get into the logs for both Operate and Tasklist containers the log is: exec /sbin/tini: permission denied.
For example when installing Operate: image: camunda/operate 8.5.6 i get this:
> [+] Building 1.1s (5/6) docker:default
> => [internal] load build definition from Dockerfile 0.0s
> => => transferring dockerfile: 431B 0.0s
> => [internal] load metadata for docker.io/camunda/operate:8.5.6 0.0s
> => [internal] load .dockerignore 0.0s
> => => transferring context: 2B 0.0s
> => CACHED [1/3] FROM docker.io/camunda/operate:8.5.6 0.0s
> => ERROR [2/3] RUN apk add --no-cache tini 1.0s
> ------
> > [2/3] RUN apk add --no-cache tini:
> 0.889 exec /bin/sh: permission denied
> ------
> Dockerfile:9
> --------------------
> 7 |
> 8 | # Install tini
> 9 | >>> RUN apk add --no-cache tini
> 10 |
> 11 | # Fix permissions for tini
> --------------------
> ERROR: failed to solve: process "/bin/sh -c apk add --no-cache tini" did not complete successfully: exit code: 1type or paste code here
Can you share your docker-compose.yaml file?
I see from your print screen that are some containers missing: optimize, identity and keycloak.
To verify your scenario, I tested couple of versions with docker-compose.yaml all are having same issue. Only docker-compose-core.yaml is working as expected. I logged in as root user and performed the activities.Created separate topic for possible defect. Let Camunda team can update the thread.
I have tried again to modify the yaml: run with root, privileged: trusted etc…
i still get from operate and tasklist this error: exec /sbin/tini: permission denied
do you have any suggestions?