-
Notifications
You must be signed in to change notification settings - Fork 184
get error "Failed to get D-Bus connection" #11
Comments
WSL don't supports systemd... |
Got it, THX. |
@jeffcao: Try https://github.com/gdraheim/docker-systemctl-replacement works for me in most cases |
Like @graben says above, you can work around the issues with
Of course, that just fixes systemctl - the OP wants to start docker, and that's a whole separate issue... |
I saw on https://stackoverflow.com/a/13275973/4583938 that is possible to redirect dbus over tcp sockets instead of unix sockets. And people actually got dbus to work with WSL. Unfortunately, following the instructions from that post did not work for CentOS/WSL. Any pointers? |
how about start a mysqld service ? I failed |
This is happening because /var/run is a volatile directory and somehow it is not able to find/create mysqld.pid file in /var/run/mysqld and hence it is failing. If it still doesn't work look for the logs at /var/logs/mysqld.log. Also, you would have to do it every time you restart the LxssManager service or reboot the machine. |
in centos instance, i get error "Failed to get D-Bus connection" when exec command "systemctl start docker".
Kindly help!
The text was updated successfully, but these errors were encountered: