Prilileage=1 doesn't help Ubuntu to run systemctl

If I add /sbin/init in the end of dock run, it will fail to run.
If I add --privileged=true, systemctl still doesn’t work.

ubuntu@myubuntu:~$ systemctl status
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

OS: Manjaro OS

Hi laichiaheng,

I am having the same issue when attempting to start mysql. I have been searching the web for any fix and can’t find one. I have gotten mysql to start once.

I ran my dockerfile FROM mysql:latest. But I am still having the same issue.

Thanks,
Sean Lafontaine

Impossible, as the official mysql image does not rely on systemd.
Please search for a more suiting thread or if nothign suits open a new one, but this time provide details about how you exactl start the container and what error message you receive.