Skip to content

Docker Container external driver for Linux #3840

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 2 commits into
base: master
Choose a base branch
from

Conversation

afbjorklund
Copy link
Member

@afbjorklund afbjorklund commented Aug 15, 2025

A new Linux driver similar to the WSL2 driver for Windows,
creating virtual machines from container images (as rootfs).

Depends-On #3839

make native && ADDITIONAL_DRIVERS=dc make additional-drivers

(this is a draft, until the driver framework has been finalized)


Intended for use with Kata containers or similar runtime

Not related with template://docker, inside the instance.

@afbjorklund afbjorklund force-pushed the dc branch 2 times, most recently from 51c6e20 to 87bc141 Compare August 15, 2025 19:27
A new macOS driver similar to the WSL2 driver for Windows,
creating virtual machines from container images (as rootfs).

Signed-off-by: Anders F Björklund <[email protected]>
A new Linux driver similar to the WSL2 driver for Windows,
creating virtual machines from container images (as rootfs).

Signed-off-by: Anders F Björklund <[email protected]>
@afbjorklund afbjorklund changed the title Docker Container external driver Docker Container external driver for Linux Aug 16, 2025
if l.Instance != nil {
info.InstanceDir = l.Instance.Dir
}
info.DriverName = "dc"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not call it "docker"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway there must be a clear documentation that clarifies how this differs from template://docker

Copy link
Member Author

@afbjorklund afbjorklund Aug 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative name for it was Kata Containers, but it was hampered a bit about it (kata) being broken...

Currently there is no way to select the runtime, between runc/runv/runq etc, it is a hardcoded string
But the goal for it was to default to a VM runtime - since it is trying to behave like the Apple Containers

)

func inspectStatus(instDir string, inst *Instance, y *limayaml.LimaYAML) {
if inst.VMType == limayaml.DC {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code will be moved to the driver

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