Add tip for using systemd inside a Distrobox container

Anthony Wang 2022-07-28 21:10:35 -05:00
parent 46541522ff
commit 80116216fb

@ -16,4 +16,13 @@ You can also install apps inside the container and run them from the outside wit
### Running WMs or DEs
You can even install a window manager or desktop environment inside the container and use it in remote desktop with `~/.xinitrc`. See the [window managers](Window-managers) article for more information.
You can even install a window manager or desktop environment inside the container and use it in remote desktop with `~/.xinitrc`. See the [window managers](Window-managers) article for more information.
### Use systemd inside the container
Run the following commands inside the container to make the host systemd accessible inside the container:
```sh
sudo umount /run/systemd/system
sudo rmdir /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/