-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
libcontainer/utils: cross-platform use of unix/syscall #1701
Conversation
6cb5ac3
to
f04fb4e
Compare
We've been slowly switching |
BTW this topic being aside, what does docker uses for windows containers as the runtime? I thought it also used runc |
Docker uses VMs under the hood using HyperV (though I believe in newer versions hcsshim will actually create a "container" on Windows -- which is a new HyperV concept apparently). MacOS also uses VMs with xhyve. You still can't run EDIT: Sorry, they do appear to have cross-compatibility now but it's not clear to me how this interoperability works and whether you could actually us it from within a |
@cyphar i understand that, but that is the benefit of a stdlib that may have multi-platform presence. It gets uglier to spread these calls out to their on platform files. :-\ |
The problem is that |
unix.WaitStatus is unix only ... syscall.WaitStatus exists on more platforms Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
updated. PTAL. |
changed the title as this is not wholly switching back to |
opencontainers/runc#1701 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
opencontainers/runc#1701 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
opencontainers/runc#1701 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
bump |
opencontainers/runc#1701 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
opencontainers/runc#1701 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
unix.WaitStatus is unix only ... syscall.WaitStatus exists on more platforms
Signed-off-by: Vincent Batts vbatts@hashbangbash.com