установка docker на kubuntu 18.04 завершилась неудачно - PullRequest
0 голосов
/ 15 апреля 2020

Я перешел по этой ссылке , чтобы установить docker в моей системе при запуске sudo apt-get install docker-ce docker-ce-cli containerd.io

Я получаю эту ошибку

Reading package lists... Done
Building dependency tree       
Reading state information... Done
containerd.io is already the newest version (1.2.13-1).
docker-ce-cli is already the newest version (5:19.03.8~3-0~ubuntu-bionic).
docker-ce is already the newest version (5:19.03.8~3-0~ubuntu-bionic).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up docker-ce (5:19.03.8~3-0~ubuntu-bionic) ...
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-04-15 14:40:19 +0430; 6ms ago
     Docs: https://docs.docker.com
  Process: 31066 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 31066 (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
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

journalctl -xe output :

-- Subject: Unit docker.socket has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit docker.socket has finished starting up.
-- 
-- The start-up result is RESULT.
April 15 14:40:28 system systemd[1]: docker.service: Start request repeated too quickly.
April 15 14:40:28 system systemd[1]: docker.service: Failed with result 'exit-code'.
April 15 14:40:28 system systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit docker.service has failed.
-- 
-- The result is RESULT.
April 15 14:40:28 system systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.

что не так? Я следовал шаг за шагом docker. Я также пытался установить docker -ce = 5: 19.03.8 ~ 3-0 ~ ubuntu-bioni c, но получил тот же результат.

...