Skip to content

Run container as --privileged if DSTACK_DOCKER_PRIVILEGED#1821

Merged
un-def merged 1 commit intodstackai:masterfrom
mtaran:privileged-env-var
Oct 15, 2024
Merged

Run container as --privileged if DSTACK_DOCKER_PRIVILEGED#1821
un-def merged 1 commit intodstackai:masterfrom
mtaran:privileged-env-var

Conversation

@mtaran
Copy link
Copy Markdown

@mtaran mtaran commented Oct 11, 2024

This is needed to run Docker-in-Docker.

I'm guessing the env vars passed from the env: section at the root of the task yaml make it to the initialization of dstack-shim, but please let me know if not!

Fixes #1820

This is needed to run Docker-in-Docker.

I'm *guessing* the env vars passed from the `env:` section at the root of the task yaml make it to the initialization of `dstack-shim`, but please let me know if not!

Fixes dstackai#1820
@un-def
Copy link
Copy Markdown
Collaborator

un-def commented Oct 15, 2024

the env vars passed from the env: section at the root of the task yaml make it to the initialization of dstack-shim

Unfortunately, this doesn't work that way, but the new variable may still useful nonetheless (esp. for SSH fleets). Thanks!

@un-def un-def merged commit c140c01 into dstackai:master Oct 15, 2024
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.

[Feature]: Ability to run privileged containers for Docker-in-Docker support

2 participants