Skip to content

feat(DoutD): enable worker to spawn containers on host (ADAnalise-container) #37

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luabida
Copy link
Collaborator

@luabida luabida commented Mar 13, 2025

To enable airflow to run ADAnalise-container in a task, I need to make the worker container connect to /var/run/docker.sock on host, so it can spawn a container from outside its own container. I'm not sure what the implications of it in the system, but since the non-root user has the same UID and GID as the host, the permissions shouldn't be a problem, I've been testing locally and I could make the adanalise container to spawn and run it accessing the infodengue's DB thought the docker network

image

@luabida luabida requested a review from fccoelho March 13, 2025 21:21
@luabida luabida force-pushed the adanalise-dag branch 2 times, most recently from 1075c64 to b28dced Compare March 13, 2025 22:54
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

Successfully merging this pull request may close these issues.

2 participants