when installed docker.io , /etc/init.d/docker not found, so service can't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu WSL |
Confirmed
|
Medium
|
Unassigned | ||
docker.io (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I executed the following command
sudo apt install docker.io
sudo service docker start
than show message
docker: unrecognized service
I check /etc/init.d/docker , no file.
I also try other app.
sudo apt remove openssh-server
rm /etc/init.d/ssh
sudo apt install openssh-server
the /etc/init.d/ssh also not found
Win10: build 19624
ubuntu 20.04 WSL2 mode.
Suspicious message
invoke-rc.d: could not determine current runlevel
invoke-rc.d: unknown initscript, /etc/init.d/docker not found.
=======
Setting up cgroupfs-mount (1.4) ...
invoke-rc.d: could not determine current runlevel
Setting up containerd (1.3.3-0ubuntu2) ...
Setting up docker.io (19.03.8-0ubuntu1) ...
invoke-rc.d: unknown initscript, /etc/init.d/docker not found.
invoke-rc.d: could not determine current runlevel
Setting up dnsmasq-base (2.80-1.1ubuntu1) ...
Setting up ubuntu-fan (0.12.13) ...
invoke-rc.d: could not determine current runlevel
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
description: | updated |
Changed in ubuntuwsl: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Sorry , ubuntu version is 20.04