2022年7月24日日曜日

wslでsystemdを動かす方法2(ubuntu22.04)

 /etc/wsl.confに以下を追加すると、コンテナ起動時にwsl-systemdが自動起動される。


[boot]
command = /usr/libexec/wsl-systemd