Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Kata/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
afbjorklund wants to merge 2 commits into lima-vm:master
base: master
Choose a base branch
Loading
from afbjorklund:dc

Conversation

@afbjorklund
Copy link
Member

@afbjorklund afbjorklund commented Aug 15, 2025
edited
Loading

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 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

@AkihiroSuda AkihiroSuda Aug 18, 2025

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

@AkihiroSuda AkihiroSuda Aug 18, 2025

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

afbjorklund reacted with thumbs up emoji
Copy link
Member Author

@afbjorklund afbjorklund Aug 18, 2025
edited
Loading

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

Copy link
Member

@AkihiroSuda AkihiroSuda Aug 19, 2025

Choose a reason for hiding this comment

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

Alternative names:

  • in-docker
  • docker-as-vmdriver

Copy link
Member

@jandubois jandubois Aug 19, 2025

Choose a reason for hiding this comment

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

I think just docker is fine because of the context where it will be used: vmType: docker or --vm-type docker.

)

func inspectStatus(instDir string, inst *Instance, y *limayaml.LimaYAML) {
if inst.VMType == limayaml.DC {
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.

This code will be moved to the driver

@afbjorklund afbjorklund changed the title (削除) Docker Container external driver for Linux (削除ここまで) (追記) Kata/Docker Container external driver for Linux (追記ここまで) Aug 27, 2025
@afbjorklund afbjorklund added the area/vmdrivers VM driver infrastructure label Oct 15, 2025
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 <anders.f.bjorklund@gmail.com>
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 <anders.f.bjorklund@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jandubois jandubois jandubois left review comments

@AkihiroSuda AkihiroSuda AkihiroSuda left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

area/vmdrivers VM driver infrastructure

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /