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

WIP: update moby run to work with containers #41273

Closed
wants to merge 2 commits into from
Closed

WIP: update moby run to work with containers #41273

wants to merge 2 commits into from

Conversation

sbromberger
Copy link
Contributor

@sbromberger sbromberger commented Dec 24, 2022

Two things need to change when we're running docker in a virtual environment (LXC/D): first, we shouldn't test for the loop module, which might not exist/be loadable within the container. Second, we need a different cgroup mount command.

This PR is blocked on void-linux/void-runit#102 since the virtualization detection is currently unavailable to runsv scripts. Once void-linux/void-runit#102 is merged, I'll remove the WIP designator.

Testing the changes

  • I tested the changes in this PR: YES - but note - they've only been tested in virtual environments (I don't have docker running on bare metal void).

Local build testing

  • I built this PR locally for my native architecture, Linux lithium 6.0.13_1 #1 SMP PREEMPT_DYNAMIC Fri Dec 16 02:05:26 UTC 2022 x86_64 GNU/Linux (glibc)

two things need to change when we're running docker in a virtual environment (LXC/D): first, we shouldn't test for the loop module, which might not exist/be loadable within the container. Second, we need a different cgroup mount command.

This PR is blocked on void-linux/void-runit#101 since the virtualization detection is currently incorrect for recent versions of LXD. Once void-linux/void-runit#101 is merged, I'll remove the WIP designator.
@github-actions
Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Mar 25, 2023
@github-actions github-actions bot closed this Apr 9, 2023
@sbromberger sbromberger deleted the patch-2 branch January 30, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant