redcode-labs / easyWSL

Create WSL distros based on Docker Images.
Other
555 stars 37 forks source link

[feature] hope support image.tar file #15

Closed wuxingzhong closed 3 years ago

wuxingzhong commented 3 years ago

example

docker save -o images.tar alpine:latest 

hope can support Specify images.tar file as a docker image.

dhanar10 commented 3 years ago

+1

wr0belj commented 3 years ago

So you would like to be be able to import an existing rootfs obtained from docker by docker save -o images.tar alpine:latest command. Am I right?

dhanar10 commented 3 years ago

Yes, if it is possible, it would be nice.

wr0belj commented 3 years ago

It is possible and very easy to implement. However we don't see much value in integrating it. wsl.exe already has the import function and we use it in easyWSL to register distros. You can read more about this on that MS docs page. https://docs.microsoft.com/en-us/windows/wsl/use-custom-distro

wuxingzhong commented 3 years ago

ok, thanks!