Answer the question
In order to leave comments, you need to log in
Docker issue. Wrong installation on windows+wcl2+debian? Why doesn't it start? How to search for a problem?
Issues installing decker on wls2+debian.
There was an error in the logs during installation
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2020-08-05 18:25:05 +05; 7ms ago
Docs: https://docs.docker.com
Process: 3204 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 3204 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
[email protected]:~$ sudo systemctl status docker
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-08-05 18:25:13 +05; 3min 36s ago
Docs: https://docs.docker.com
Main PID: 4610 (code=exited, status=1/FAILURE)
Aug 05 18:25:11 mrswylet-laptop systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Aug 05 18:25:11 mrswylet-laptop systemd[1]: docker.service: Failed with result 'exit-code'.
Aug 05 18:25:11 mrswylet-laptop systemd[1]: Failed to start Docker Application Container Engine.
Aug 05 18:25:13 mrswylet-laptop systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Aug 05 18:25:13 mrswylet-laptop systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Aug 05 18:25:13 mrswylet-laptop systemd[1]: Stopped Docker Application Container Engine.
Aug 05 18:25:13 mrswylet-laptop systemd[1]: docker.service: Start request repeated too quickly.
Aug 05 18:25:13 mrswylet-laptop systemd[1]: docker.service: Failed with result 'exit-code'.
Aug 05 18:25:13 mrswylet-laptop systemd[1]: Failed to start Docker Application Container Engine.
[email protected]:~$ journalctl -xe
-- Subject: A start job for unit docker.socket has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit docker.socket has finished successfully.
--
-- The job identifier is 572.
Aug 05 23:32:20 mrswylet-laptop systemd[1]: docker.service: Start request repeated too quickly.
Aug 05 23:32:20 mrswylet-laptop systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit docker.service has entered the 'failed' state with result 'exit-code'.
Aug 05 23:32:20 mrswylet-laptop systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: A start job for unit docker.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit docker.service has finished with a failure.
--
-- The job identifier is 525 and the job result is failed.
Aug 05 23:32:20 mrswylet-laptop systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit docker.socket has entered the 'failed' state with result 'service-start-limit-hit'.
Aug 05 23:33:00 mrswylet-laptop WSL2: Performing memory compaction.
Answer the question
In order to leave comments, you need to log in
I was never able to get docker working under wls2 + debian.
But, under wls2+ubuntu+18.04 everything works fine.
Ubuntu installed according to this guide https://zource.dev/2020/05/setup-wsl2/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question