mrswylet
@mrswylet

Проблема с Docker. Не правильная установка на windons+wcl2+debian? От чего не запускается? Как искать проблему?

Проблемы с установкой decker на wls2+debian.
При установке в логах была ошибка

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


При команде sudo systemctl status docker выводится

mrswylet@mrswylet-laptop:~$ 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.


Устанавливал исходя из инструкции https://docs.docker.com/engine/install/debian/
Куда копать? Как искать проблему?

Логи от journalctl -xe
mrswylet@mrswylet-laptop:~$ 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.
  • Вопрос задан
  • 165 просмотров
Решения вопроса 1
mrswylet
@mrswylet Автор вопроса
Я так и не смог заставить работать docker под wls2 + debian.
Но, под wls2+ubuntu+18.04 все работает отлично.
Ubuntu ставил по этому гайду https://zource.dev/2020/05/setup-wsl2/
Ответ написан
Пригласить эксперта
Ответы на вопрос 1
@q2digger
никого не трогаю, починяю примус
/etc/init.d/docker start
там systemd не работает как надо до сих пор
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы