Improve systemd inside Distrobox commands
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
|
||||
```
|
Loading…
Reference in a new issue