windows Linux子系统WSL

最后发布时间:2022-09-10 14:42:21 浏览量:
wsl --list -v
wsl --set-version Ubuntu-20.04 2

https://adamtheautomator.com/windows-subsystem-for-linux/
https://docs.microsoft.com/zh-cn/windows/wsl/basic-commands#unregister-or-uninstall-a-linux-distribution

wsl --shutdown
wsl --export docker-desktop-data docker-desktop-data.tar
wsl --unregister docker-desktop-data
wsl --import docker-desktop-data D:\docker-new-repo\ docker-desktop-data.tar --version 2

https://stackoverflow.com/questions/40465979/change-docker-native-images-location-on-windows-10-pro