-
Notifications
You must be signed in to change notification settings - Fork 308
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
nerdctl for Windows. #600
nerdctl for Windows. #600
Conversation
We will add more golang helpers soon. Signed-off-by: Mark Yen <[email protected]>
This just forwards everything to wsl.exe to run nerdctl; things like volume mounts will not work. On a WSL Linux distro, this means going to the host (to launch wsl.exe) and back again (to the rancher-desktop container). Signed-off-by: Mark Yen <[email protected]>
I believe both building (from linux) and doing volumes will require doing arg parsing in the nerdctl stub (to figure out where the paths are for arguments), and are best done in a follow-up. So I'm going to mark this as ready for review for now, assuming we'll do follow-ups. For now, Windows should be able to do |
f2093ca
to
0131d11
Compare
Note that I dropped f2093ca because it turned out that broke |
This includes nerdctl. Signed-off-by: Mark Yen <[email protected]>
6a6d706
to
e811b67
Compare
Assuming we want our go code to be clean |
Hmm, Also, note that you're linting code that is just moved, and no changes were made to it… |
This implements a stub nerdctl bianry on Windows that execs into the (correct) WSL distribution.
This is in support of #566.
TODO:
nerdctl run -v foo:bar
)nerdctl build
from Linux.