-2

Я установил docker на Ubuntu 18.04 и получил ошибку при запуске службы docker (скриншот-1) и при попытке удалить пакет docker из systen, а также показывает ошибку (скриншот 2).

  • Системная информация:
  • ОС:Ubuntu 18.04 LTS 64-битная
  • Версия Docker: 18.06.1-ce, сборка e68fc7a

На самом деле я пытаюсь удалить Docker с помощью команды:

$ sudo apt-get remove docker docker-engine docker.io containerd runc
Error:
(Reading database ... 261383 files and directories currently installed.)
Removing docker.io (18.06.1-0ubuntu1.2~18.04.1) ...
Failed to stop docker.service: Unit docker.service not loaded.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: error processing package docker.io (--remove):
 installed docker.io package pre-removal script subprocess returned error exit status 5
dpkg: error while cleaning up:
 installed docker.io package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 docker.io
E: Sub-process /usr/bin/dpkg returned an error code (1)

и когда я пытаюсь запустить сервис Docker, ниже ошибка:

docker.service
   Loaded: error (Reason: Invalid argument)
  Drop-In: /etc/systemd/system/docker.service.d
           └─hosts.conf, overlay.conf
   Active: inactive (dead)

Feb 16 09:46:47 master-node systemd[1]: docker.service: Service has more than one ExecStart= setting, which is only 
Feb 16 09:47:50 master-node systemd[1]: docker.service: Service has more than one ExecStart= setting, which is only 
Feb 16 09:47:53 master-node systemd[1]: docker.service: Service has more than one ExecStart= setting, which is only 
Feb 16 09:47:53 master-node systemd[1]: docker.service: Service has more than one ExecStart= setting, which is only 
Feb 16 09:51:21 master-node systemd[1]: docker.service: Service has more than one ExecStart= setting, which is only 
Feb 16 09:58:20 master-node systemd[1]: docker.service: Service has more than one ExecStart= setting, which is only 

0