containerd / containerd/overlaybd

how to support windows containers

Open
#113 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
410
Forks
85
Avg merge
2d 14h
Merged PRs (30d)
10

Description

I think there are severval aspects to consider for Windows containers:

1. **porting overlaybd**

- Windows container in Linux host: overlaybd should work out-of-box, by passing through the virtual block device (generated by TCMU in host) to guest; and it's also possible to integrate overlaybd into hypervisor, avoiding the virtual block device in host kernel.

- Windows container in Windows host: the userspace code of overlaybd can be easily ported to Windows with the help of WSL, cygwin or mingw; but I'm not sure whether WSL have the support for TCMU virtual block device;

2. **snapshotter / graphdriver**

- I believe that windows containers use a different snapshotter / graphdriver than overlay2 in linux, so we have to port overlaybd's driver to windows; as project teleport is also a remote image, which should be a good fit for reference.

3. **building image**

- should work as exepected, as long as using overlaybd's native writable layer;

- does buildkit have support for windows images?

4. **running container**

- should work as exepected, as long as snapshotter / graphdriver is properly implemented


Any comments?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.