We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pacman -S docker
systemctl
docker daemon
运行systemctl start docker 提示:
systemctl start docker
System has not been booted with systemd as init system (PID 1). Can't operate.
解决方法 yuk7/ArchWSL#20 (comment)
pacman -S python # 安装 systemctl 替换版本 mv /usr/bin/systemctl /usr/bin/systemctl.old curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py > /usr/bin/systemctl chmod +x /usr/bin/systemctl
systemctl enable docker systemctl status docker
docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service, enabled) Active: failed (failed)
激活失败 待解决
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`
The text was updated successfully, but these errors were encountered:
[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
Sorry, something went wrong.
https://wsldl-pg.github.io/ArchW-docs/locale/zh-CN/Known-issues/#systemd
No branches or pull requests
ArchWSL下无法使用
systemctl
运行docker daemon
运行
systemctl start docker
提示:systemctl enable docker systemctl status docker
激活失败 待解决
The text was updated successfully, but these errors were encountered: