Improve systemd inside Distrobox commands

Anthony Wang 2022-07-28 21:43:09 -05:00
parent 80116216fb
commit 03142cf1e2

@ -22,7 +22,11 @@ You can even install a window manager or desktop environment inside the containe
Run the following commands inside the container to make the host systemd accessible inside the container:
```sh
# These two commands may not be necessary
sudo umount /run/systemd/system
sudo rmdir /run/systemd/system
sudo rm -r /run/systemd/system
sudo ln -s /run/host/run/systemd/system /run/systemd
sudo ln -s /run/host/run/dbus/system_bus_socket /run/dbus/
sudo mkdir -p /run/dbus
sudo ln -s /run/host/run/dbus/system_bus_socket /run/dbus
```