You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By LxRunOffline.exe run -n centos-7 I connected to my centos.
And I wanted to do so by ssh. But when calling systemctl xxx, I got Failed to get D-Bus connection: Operation not permitted.
I googled it, and it's said that this is because the design of docker. If user does want to use systemctl , he must provide param --privileged=true for the docker launch command. But by using LxRunOffline, I'm not able to access docker directly. What should I do?
The text was updated successfully, but these errors were encountered:
LxRunOffline has nothing to do with docker, it's just a management interface for Windows 10's WSL functionality. Currently WSL doesn't support systemd: microsoft/WSL#994
By
LxRunOffline.exe run -n centos-7
I connected to my centos.And I wanted to do so by ssh. But when calling
systemctl xxx
, I gotFailed to get D-Bus connection: Operation not permitted
.I googled it, and it's said that this is because the design of docker. If user does want to use
systemctl
, he must provide param--privileged=true
for the docker launch command. But by using LxRunOffline, I'm not able to access docker directly. What should I do?The text was updated successfully, but these errors were encountered: