Specify user for containers and upgrade to v4.0.0 #10

Merged
notplants merged 6 commits from specify-user into main 2025-12-03 20:15:31 +00:00
Owner

While working on deploying this recipe to the autonomic test instance, I started seeing this error when attempting to connect to containers via bash, or when running the healthcheck (which caused deployment to fail):
invalid USER value 1001:127:-1000

I looked into it, and this strange string was the default docker user set for these containers. I was able to avoid the error by connecting to the containers via docker exec --user root -it containerid /bin/sh. Then I went and added a specific user to the docker compose specs for the container, basically copying from https://github.com/laurentS/lasuite-docs/blob/main/docker-compose.yml

This fixed the issue, and is included in this PR. Although I never figured out why the error randomly started appearing all of a sudden. I have no explanation (maybe a docker upgrade? although I only saw it on the test instance and not the original deployment).

Anyway, it is working now (🌿) so leaving the mystery for now...

I also updated the images to their latest version, 4.0.0, while trying to debug this... to see if that would fix the issue on its own (it did not), but good to upgrade anyway.

While working on deploying this recipe to the autonomic test instance, I started seeing this error when attempting to connect to containers via bash, or when running the healthcheck (which caused deployment to fail): ```invalid USER value 1001:127:-1000``` I looked into it, and this strange string was the default docker user set for these containers. I was able to avoid the error by connecting to the containers via `docker exec --user root -it containerid /bin/sh`. Then I went and added a specific user to the docker compose specs for the container, basically copying from https://github.com/laurentS/lasuite-docs/blob/main/docker-compose.yml This fixed the issue, and is included in this PR. Although I never figured out why the error randomly started appearing all of a sudden. I have no explanation (maybe a docker upgrade? although I only saw it on the test instance and not the original deployment). Anyway, it is working now (🌿) so leaving the mystery for now... I also updated the images to their latest version, 4.0.0, while trying to debug this... to see if that would fix the issue on its own (it did not), but good to upgrade anyway.
notplants added 5 commits 2025-12-03 02:14:28 +00:00
Author
Owner

this pr also updates the image versions to 4.0.0

this pr also updates the image versions to 4.0.0
notplants reviewed 2025-12-03 02:15:36 +00:00
@ -92,2 +92,3 @@
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=0.2.1+v3.4.2"
- "coop-cloud.${STACK_NAME}.version=0.2.2+v4.0.0"
user: "${DOCKER_USER:-1000}"
Author
Owner

not entirely sure why I all of a sudden needed to add these to get this to work... which I don't love

not entirely sure why I all of a sudden needed to add these to get this to work... which I don't love
notplants changed title from Specify user for containers to Specify user for containers and upgrade to v4.0.0 2025-12-03 19:40:54 +00:00
notplants added 1 commit 2025-12-03 20:12:17 +00:00
Author
Owner

tested & working. merging

tested & working. merging
notplants merged commit f87c73b953 into main 2025-12-03 20:15:31 +00:00
notplants deleted branch specify-user 2025-12-03 20:15:31 +00:00
Sign in to join this conversation.
No description provided.