Skip to content
New issue

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

Validate privileged container at startup #323

Open
mausch opened this issue Sep 14, 2021 · 0 comments
Open

Validate privileged container at startup #323

mausch opened this issue Sep 14, 2021 · 0 comments

Comments

@mausch
Copy link

mausch commented Sep 14, 2021

By default the docker container starts the docker-in-docker daemon, which requires a privileged container: https://github.com/OctopusDeploy/OctopusTentacle/blob/main/docker/linux/scripts/run-tentacle.sh#L7

However the privileged flag isn't checked at startup, so if you don't set it deployments fail with a message like:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Also the privileged flag isn't mentioned in https://github.com/OctopusDeploy/OctopusTentacle/blob/main/docker/readme.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant