How self-contained are tasks? #8684
Unanswered
cjdcordeiro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This might be happening because of In either care, there's always an |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've deployed Concourse via the quickstart guide (i.e. with Docker Compose), and I've been playing around with a few privileged tasks, as one of my pipelines requires making use of a registry-image with
systemd
as the ENTRYPOINT.So my tasks looks something like:
And my
/usr/local/bin/entrypoint-wrapper.sh
executable then runsexec /lib/systemd/systemd --system --system-unit myservice.service
.When the task runs, it fails, complaining about it now being PID 1 - "Can't run system mode unless PID 1.". By looking inside the Concourse container, I see that the PID namespace is shared with the task's processes, so I can see where this error comes from.
My question though is, aren't tasks fully self-contained? Or does this happen only because Concourse is running in a container itself?
Thanks in advance, cheers
Beta Was this translation helpful? Give feedback.
All reactions