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

Feature: privileged execution #491

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Feature: privileged execution #491

merged 1 commit into from
Mar 2, 2025

Conversation

runabol
Copy link
Owner

@runabol runabol commented Mar 2, 2025

This pull request introduces a new feature to Tork, enabling users to configure workers to execute container tasks in privileged mode. The feature is opt-in and can be enabled by setting the appropriate environment variable based on the runtime in use:

  • For Docker: Set TORK_RUNTIME_DOCKER_PRIVILEGED=true
  • For Podman: Set TORK_RUNTIME_PODMAN_PRIVILEGED=true

When enabled, the worker will run container tasks with elevated privileges, allowing access to additional system resources and capabilities as defined by the respective runtime. This is particularly useful for workflows requiring privileged operations, such as interacting with host devices or performing system-level tasks.

@runabol runabol merged commit c42fc61 into main Mar 2, 2025
5 checks passed
@runabol runabol deleted the privileged branch March 2, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant