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
1.) apt-get install dbus (in your dockerfile)
2.) make sure systemd is running in the container, this is done by setting the environment variable INITSYSTEM = on
3.) run the following command from your start shell script:
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host_run/dbus/system_bus_socket dbus-send --system --print-reply --dest=org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager.Reboot
The text was updated successfully, but these errors were encountered:
1.) apt-get install dbus (in your dockerfile)
2.) make sure systemd is running in the container, this is done by setting the environment variable INITSYSTEM = on
3.) run the following command from your start shell script:
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host_run/dbus/system_bus_socket dbus-send --system --print-reply --dest=org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager.Reboot
The text was updated successfully, but these errors were encountered: