Skip to content

Commit 31f347e

Browse files
authored
Remove handling of Docker key.json (#4361)
The deprecated-key-path option is no longer handled, but it doesn't cause problems because the key is explicitly ignored. It was completely removed in Docker 19.03.0 [1]. As such, the option and the pre-start script to fix the corrupted key.json can be removed now, as it has no effect, only printing confusing message when Docker service fails to start. [1] http://github.com/moby/moby/commit/98fc09128b3f8221680bd22c2de5b893bd3d7ef8
1 parent af9131c commit 31f347e

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

buildroot-external/rootfs-overlay/etc/docker/daemon.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
"tag": "{{.Name}}"
55
},
66
"data-root": "/mnt/data/docker",
7-
"deprecated-key-path": "/mnt/overlay/etc/docker/key.json",
87
"bip": "172.30.232.1/23"
98
}

buildroot-external/rootfs-overlay/usr/lib/systemd/system/docker.service.d/failure.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ FailureAction=reboot
33

44
[Service]
55
ExecStartPre=/usr/libexec/docker-disk-check
6-
ExecStopPost=/usr/libexec/docker-failure

buildroot-external/rootfs-overlay/usr/libexec/docker-failure

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)