Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

accountingservice container image fails as CreateContainerError when not running as root #1692

Closed
iblancasa opened this issue Jul 30, 2024 · 0 comments · Fixed by #1696
Closed
Labels
bug Something isn't working

Comments

@iblancasa
Copy link
Contributor

When the accountingservice container is run as a non-root user, an error is triggered by Kubernetes.

kubectl describe pod <pod_name> shows this:

Error: container create failed: time="2024-07-30T18:39:52Z" level=error msg="runc create failed: unable to start container process: exec: \"./instrument.sh\": permission denied"

I checked in the container and the script has root permissions.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant