相关issue
mirror镜像模式失效:https://github.com/microsoft/WSL/issues/10632
wsl2设置桥接网络或镜像网络,解决服务互通访问的问题 https://zhuanlan.zhihu.com/p/659074950
新版本下如何通过外部网络访问wsl https://zhuanlan.zhihu.com/p/672297125
wsl配置 https://learn.microsoft.com/zh-cn/windows/wsl/wsl-config#configuration-settings-for-wslconfig
安装wsl内核
.wslconfig
[wsl2]
guiapplications=true
[experimental]
autoMemoryReclaim=gradual
sparseVhd=true
networkingMode=mirrored
dnsTunneling=true
autoProxy=true
hostAddressLoopback=true
firewall=false
安装debian
vi 使用指南:https://www.runoob.com/linux/linux-vim.html
设置vscode为sudoeditor
镜像源
https://mirrors.tuna.tsinghua.edu.cn/help/debian/
安装docker
https://docs.docker.com/engine/install/debian/
sudo -i
service docker start
pull run
https://hub.docker.com/search?q=youtube
docker pull who/projcet
某些项目有无法解决的错误,得二次做image,这是项目内 Dockerfile:
FROM who/project
RUN mkdir -p /var/local/youtube-dl-server/
然后docker build -t mynewimage .
docker run -d --name=ytb -p 127.0.0.1:8181:8080 -e YDL_CONFIG_PATH=/var/local/youtube-dl-server/config.yml my_ytb
标签:记录,true,com,wsl,折腾,https,docker,wsl2
From: https://www.cnblogs.com/nolca/p/18111880