質問編集履歴
1
Markdownの誤り修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,19 +3,19 @@
|
|
3
3
|
apt purgeをすると再インストールが必要とのエラーが発生しました。
|
4
4
|
そこで--reinstall installをつけて再インストールを試みましたが、同じエラーのままでした。
|
5
5
|
```ubuntu
|
6
|
-
|
6
|
+
$ sudo apt purge docker
|
7
7
|
E: The package docker-ce needs to be reinstalled, but I can't find an archive for it.
|
8
8
|
|
9
|
-
|
9
|
+
$ sudo apt --reinstall install docker
|
10
10
|
E: The package docker-ce needs to be reinstalled, but I can't find an archive for it.
|
11
11
|
|
12
|
-
|
12
|
+
$ sudo apt --reinstall install docker-ce
|
13
13
|
E: The package docker-ce needs to be reinstalled, but I can't find an archive for it.
|
14
14
|
```
|
15
15
|
|
16
16
|
dpkgで強制削除を試みると次のようなエラーになりました。
|
17
17
|
```ubuntu
|
18
|
-
|
18
|
+
$ sudo dpkg --remove --force-all docker-ce
|
19
19
|
dpkg: warning: overriding problem because --force enabled:
|
20
20
|
dpkg: warning: package is in a very bad inconsistent state; you should
|
21
21
|
reinstall it before attempting a removal
|
@@ -33,13 +33,13 @@
|
|
33
33
|
|
34
34
|
dockerサービスが起動していないようだったので、次の手順を行いました。
|
35
35
|
```ubuntu
|
36
|
-
|
36
|
+
$ sudo service docker start
|
37
37
|
Job for docker.socket failed.
|
38
38
|
See "systemctl status docker.socket" and "journalctl -xe" for details.
|
39
39
|
Failed to start docker.service: Unit docker.service is not loaded properly: Invalid argument.
|
40
40
|
See system logs and 'systemctl status docker.service' for details.
|
41
41
|
|
42
|
-
|
42
|
+
$ sudo systemctl status docker.socket
|
43
43
|
● docker.socket - Docker Socket for the API
|
44
44
|
Loaded: loaded (/lib/systemd/system/docker.socket; enabled; vendor preset: enabled)
|
45
45
|
Active: inactive (dead)
|