-
Notifications
You must be signed in to change notification settings - Fork 694
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
base: master
Are you sure you want to change the base?
Conversation
51c6e20
to
87bc141
Compare
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]>
if l.Instance != nil { | ||
info.InstanceDir = l.Instance.Dir | ||
} | ||
info.DriverName = "dc" |
There was a problem hiding this comment.
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"?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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
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.