Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System has not been booted with systemd as init system (PID 1). Can't operate. #3707

Closed
biligeny opened this issue Dec 9, 2018 · 8 comments

Comments

@biligeny
Copy link

biligeny commented Dec 9, 2018

When installed tomcat and run command "systemctl daemon-reload", I got "System has not been booted with systemd as init system (PID 1). Can't operate", is this kind of beyond WSL supported function, or have some sort of work around etc?

@therealkenc
Copy link
Collaborator

#994

@Nitin123-4
Copy link

I am also facing the same problem...
sudo systemctl start docker
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

@ifaniqbal
Copy link

I got this error after doing these:

  • run fresh debian distro
  • install docker

@felipementel
Copy link

I had this problem running WSL 2

the solution was the command

 $ sudo dockerd

Open other terminal and try it

 $ docker ps -a

if after that you still have a problem with permission, run the command:

 $ sudo usermod -aG docker your-user

@ifaniqbal
Copy link

My bad. I was not following the official guide to integrate WSL with Docker. I run into that problem because I install docker from inside WSL with sudo apt install docker.

So, follow the guide to integrate WSL with Docker Desktop.

@felipementel
Copy link

felipementel commented Jun 11, 2020

My bad. I was not following the official guide to integrate WSL with Docker. I run into that problem because I install docker from inside WSL with sudo apt install docker.

So, follow the guide to integrate WSL with Docker Desktop.

https://docs.microsoft.com/en-us/windows/wsl/install-win10

@jose-juarez-renteria
Copy link

@ifaniqbal what guide did you followed?

@ifaniqbal
Copy link

ifaniqbal commented Jun 19, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants