Use woodpecker with docker socket proxy #2259
Unanswered
lonix1
asked this question in
Request a Feature
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Clear and concise description of the problem
The docs show that the agent needs access to the docker socket. It's good practice to use a proxy instead of exposing the entire socket. The most common is the "tecnativa" proxy .
I assume that at the very least, an agent creates new containers, so needs access to the "containers" endpoint. Presumably it needs other endpoints too.
Suggested solution
Please consider documenting which parts of the docker api are needed by the agent. Then we could use the docker socket proxy to allow those and restrict the others.
Alternative
No response
Additional context
These are the docker api's endpoints:
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]Beta Was this translation helpful? Give feedback.
All reactions