containerd / containerd/go-runc

Need help to understand non-linux (Windows) branch in go-runc

Open
#94 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
176
Forks
81
Avg merge
1d 19h
Merged PRs (30d)
6

Description

Hi, I'm new to go-runc and trying to learn go-runc from reading the docs and source code.

I noticed there is code for non-linux (Windows) branch in multiple places.

https://github.com/containerd/go-runc/blob/main/command_other.go
https://github.com/containerd/go-runc/blob/main/io_windows.go

I'm wondering what is the use case of having non-linux branch in go-runc. My understanding is go-runc is a wrapper for runc and runc is linux-specific. Windows container runtime has a separated repo [hcsshim](https://github.com/microsoft/hcsshim) to be used by containerd. So why does go-runc need windows branch? Does go-runc/runc have the plan to support Windows container?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.