Open maboloshi opened 4 years ago
[subsystemctl](GitHub - sorah/subsystemctl: Utility to run systemd in WSL2 with a Linux namespace) may help u.
# step 1
wsl -u root -- subsystemctl start
# step 2
sudo pacman -S docker
# step 3
sudo subsystemctl start
sudo subsystemctl exec sudo systemctl start docker
sudo subsystemctl exec sudo systemctl enable docker
ArchWSL下无法使用
systemctl
运行docker daemon
运行
systemctl start docker
提示: