fcwu / docker-ubuntu-vnc-desktop

A Docker image to provide web VNC interface to access Ubuntu LXDE/LxQT desktop environment.
Apache License 2.0
3.91k stars 1.42k forks source link

How to boot with "systemd" as init system? #302

Open piwawa opened 1 year ago

piwawa commented 1 year ago

Describe the bug I want to use systemctl in terminal, but it throws an error: image

I checked the current init system: image

To Reproduce Steps to reproduce the behavior:

  1. Go to 'LXTerminal.'
  2. input 'systemctl'
  3. See error

Expected behavior Boot with "systemd" as init system

Versions (please complete the following information):

recall704 commented 1 year ago

you need run docker with --privileged

piwawa commented 1 year ago

you need run docker with --privileged

image

Not work for me :(

recall704 commented 1 year ago

https://github.com/gdraheim/docker-systemctl-replacement