我在运行时遇到此错误
>service docker start
docker: unrecognized service
>service docker.io start
docker.io: unrecognized service
我正在努力与docker合作以运行它。我遇到了Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
错误。此后,我尝试了几件事,但没有成功。
>docker pull pstothard/cgview
Using default tag: latest
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
>sudo docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
>systemctl start docker.service
System has not been booted with systemd as init system (PID 1). Can't operate.
>docker images
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/json: dial unix /var/run/docker.sock: connect: permission denied
>snap stop docker
Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only.
我在Windows系统中使用ubuntu 18.04应用程序。我该怎么办?