编程知识 cdmana.com

Documentation of installing docker for windows resources

So in summary , Install the desktop version of docker, The hint says no WSL2, Install according to Microsoft documentation . Then install Linux Subsystem , Install it from the Microsoft Store . Because it is installed to by default c disc , So data migration . meanwhile docker The same data needs to be migrated . Move to another location ,.wlsconfig Can be in charge of configuration , Then it can be used normally .

windows User directory

[wsl2]
memory=2GB
swap=0

# First knowledge of configuration
https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-1---enable-the-windows-subsystem-for-linux
https://blog.csdn.net/magefreehome/article/details/107885573?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromBaidu-1.control&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromBaidu-1.control
https://www.cnblogs.com/yanglang/p/13518449.html
# Source change
https://blog.csdn.net/weixin_39305029/article/details/105014150
# Connect image
https://blog.csdn.net/u014062332/article/details/95333615?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control







docker pull dorowu/ubuntu-desktop-lxde-vnc
docker run -p 6080:80 -p 5900:5900 -e VNC_PASSWORD=VNC123456 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc

https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc


# Install subsystem
https://zhuanlan.zhihu.com/p/302961875


# The subsystem needs to be migrated to another disk
https://learnku.com/articles/46234

 

# docker Data migration to other disks  https://www.cnblogs.com/yanglang/p/13518449.html

 

 

版权声明
本文为[osc_ ixxabuu0]所创,转载请带上原文链接,感谢
https://cdmana.com/2020/12/20201224105508513p.html

Scroll to Top