We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The base image of the container make some tests and run code to "fix" something how is not a problem.
The code is on file /package/admin/s6-overlay-3.0.0.2/libexec/preinit inside the container.
/package/admin/s6-overlay-3.0.0.2/libexec/preinit
Se the logs from:
version: '3.9' services: dns-cloudflare: image: tiredofit/traefik-cloudflare-companion cap_drop: - ALL user: "1000:1000" environment: - "TRAEFIK_VERSION=2" - "SWARM_MODE=TRUE" - "DOCKER_HOST=tcp://export-docker-sock:2375" - "CF_TOKEN=${CF_TOKEN}" - "TARGET_DOMAIN=${CF_LOADBALANCER}" - "DOMAIN1=${CF_DOMAIN}" - "DOMAIN1_ZONE_ID=${CF_ZONE_ID}" deploy: replicas: 1 networks: - traefik-net - docker-net networks: traefik-net: external: name: traefik-net docker-net: external: name: docker-ro-net
Container not need to set uid or gid. The container can run as any user and drop all caps.
This is the log:
s6-overlay-suexec: fatal: unable to setgid to root: Operation not permitted
With cap add setuid and setgid:
setuid
setgid
s6-chown: fatal: unable to chown /run: Operation not permitted s6-overlay-suexec: fatal: child failed wth exit code 111
s6-overlay-suexec: fatal: unable to setgid to root: Operation not permitted s6-chown: fatal: unable to chown /run: Operation not permitted s6-overlay-suexec: fatal: child failed wth exit code 111
Well, there is somethings:
/usr/sbin/cloudflare-companion
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
The base image of the container make some tests and run code to "fix" something how is not a problem.
The code is on file
/package/admin/s6-overlay-3.0.0.2/libexec/preinit
inside the container.Steps to reproduce
Se the logs from:
What is the expected correct behavior?
Container not need to set uid or gid. The container can run as any user and drop all caps.
Relevant logs and/or screenshots
This is the log:
With cap add
setuid
andsetgid
:Environment
Any logs | docker-compose.yml
Possible fixes
Well, there is somethings:
/usr/sbin/cloudflare-companion
directThe text was updated successfully, but these errors were encountered: