New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-ce segmentation fault on Raspbian (v18.09.03) #38175

Open
DutchessNicole opened this Issue Nov 10, 2018 · 33 comments

Comments

Projects
None yet
@DutchessNicole

DutchessNicole commented Nov 10, 2018

Since two days ago docker will no longer start, after I updated the version that worked to
Version: 5:18.09.03-0raspbian-stretch.
After that the docker daemon will no longer start.
strace -f dockerd reports

execve("/usr/bin/dockerd", ["dockerd"], [/* 27 vars */]) = 0
brk(NULL)                               = 0x3b13000
uname({sysname="Linux", nodename="raspberrypi", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f6e000
access("/etc/ld.so.preload", R_OK)      = 0
open("/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap2(NULL, 42, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb6f6d000
close(3)                                = 0
open("/usr/lib/arm-linux-gnueabihf/libarmmem.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\210\5\0\0004\0\0\0"..., 512) = 512
lseek(3, 20868, SEEK_SET)               = 20868
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000
lseek(3, 20540, SEEK_SET)               = 20540
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\3\f\1\22\4\24"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=21868, ...}) = 0
mmap2(NULL, 86080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f2b000
mprotect(0xb6f30000, 61440, PROT_NONE)  = 0
mmap2(0xb6f3f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb6f3f000
close(3)                                = 0
munmap(0xb6f6d000, 42)                  = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=28101, ...}) = 0
mmap2(NULL, 28101, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f67000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
lseek(3, 493188, SEEK_SET)              = 493188
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1320) = 1320
lseek(3, 492748, SEEK_SET)              = 492748
read(3, "A2\0\0\0aeabi\0\1(\0\0\0\0056\0\6\6\10\1\t\1\n\2\f\3\22\4\23"..., 51) = 51
fstat64(3, {st_mode=S_IFREG|0644, st_size=494508, ...}) = 0
mmap2(NULL, 499173, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6eb1000
mmap2(0xb6f28000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x76000) = 0xb6f28000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0dI\0\0004\0\0\0"..., 512) = 512
lseek(3, 125740, SEEK_SET)              = 125740
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1560) = 1560
lseek(3, 90536, SEEK_SET)               = 90536
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0755, st_size=127300, ...}) = 0
mmap2(NULL, 164432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e88000
mprotect(0xb6e9e000, 61440, PROT_NONE)  = 0
mmap2(0xb6ead000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0xb6ead000
mmap2(0xb6eaf000, 4688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6eaf000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libseccomp.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\344\272\0\0004\0\0\0"..., 512) = 512
lseek(3, 139840, SEEK_SET)              = 139840
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1040) = 1040
lseek(3, 139504, SEEK_SET)              = 139504
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=140880, ...}) = 0
mmap2(NULL, 205044, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6e55000
mprotect(0xb6e6c000, 65536, PROT_NONE)  = 0
mmap2(0xb6e7c000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0xb6e7c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0@h\1\0004\0\0\0"..., 512) = 512
lseek(3, 1231820, SEEK_SET)             = 1231820
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2880) = 2880
lseek(3, 1228284, SEEK_SET)             = 1228284
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0755, st_size=1234700, ...}) = 0
mmap2(NULL, 1303872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6d16000
mprotect(0xb6e3f000, 65536, PROT_NONE)  = 0
mmap2(0xb6e4f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x129000) = 0xb6e4f000
mmap2(0xb6e52000, 9536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6e52000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0hN\0\0004\0\0\0"..., 512) = 512
lseek(3, 136448, SEEK_SET)              = 136448
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1160) = 1160
lseek(3, 136088, SEEK_SET)              = 136088
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=137608, ...}) = 0
mmap2(NULL, 208496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ce3000
mprotect(0xb6d03000, 65536, PROT_NONE)  = 0
mmap2(0xb6d13000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xb6d13000
mmap2(0xb6d15000, 3696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6d15000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 \27\0\0004\0\0\0"..., 512) = 512
lseek(3, 25352, SEEK_SET)               = 25352
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1280) = 1280
lseek(3, 24940, SEEK_SET)               = 24940
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0644, st_size=26632, ...}) = 0
mmap2(NULL, 90640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ccc000
mprotect(0xb6cd2000, 61440, PROT_NONE)  = 0
mmap2(0xb6ce1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0xb6ce1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\230\"\0\0004\0\0\0"..., 512) = 512
lseek(3, 131848, SEEK_SET)              = 131848
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1080) = 1080
lseek(3, 131500, SEEK_SET)              = 131500
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=132928, ...}) = 0
mmap2(NULL, 197040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6c9b000
mprotect(0xb6cbb000, 61440, PROT_NONE)  = 0
mmap2(0xb6cca000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0xb6cca000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/liblz4.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\300\32\0\0004\0\0\0"..., 512) = 512
lseek(3, 66052, SEEK_SET)               = 66052
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1040) = 1040
lseek(3, 65748, SEEK_SET)               = 65748
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=67092, ...}) = 0
mmap2(NULL, 131288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6c7a000
mprotect(0xb6c8a000, 61440, PROT_NONE)  = 0
mmap2(0xb6c99000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0xb6c99000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libgcrypt.so.20", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\\\0\0004\0\0\0"..., 512) = 512
lseek(3, 787796, SEEK_SET)              = 787796
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1120) = 1120
lseek(3, 787437, SEEK_SET)              = 787437
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\7\f\3\22\4\24"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=788916, ...}) = 0
mmap2(NULL, 853676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ba9000
mprotect(0xb6c65000, 65536, PROT_NONE)  = 0
mmap2(0xb6c75000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xbc000) = 0xb6c75000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\200\321\0\0004\0\0\0"..., 512) = 512
lseek(3, 115292, SEEK_SET)              = 115292
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1080) = 1080
lseek(3, 114944, SEEK_SET)              = 114944
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=116372, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f65000
mmap2(NULL, 180536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6b7c000
mprotect(0xb6b98000, 61440, PROT_NONE)  = 0
mmap2(0xb6ba7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0xb6ba7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0004\20\0\0004\0\0\0"..., 512) = 512
lseek(3, 426320, SEEK_SET)              = 426320
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1040) = 1040
lseek(3, 426012, SEEK_SET)              = 426012
read(3, "A,\0\0\0aeabi\0\1\"\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 45) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=427360, ...}) = 0
mmap2(NULL, 491604, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6b03000
mprotect(0xb6b6b000, 61440, PROT_NONE)  = 0
mmap2(0xb6b7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67000) = 0xb6b7a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0P\t\0\0004\0\0\0"..., 512) = 512
lseek(3, 8680, SEEK_SET)                = 8680
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1120) = 1120
lseek(3, 8328, SEEK_SET)                = 8328
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0644, st_size=9800, ...}) = 0
mmap2(NULL, 73912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6af0000
mprotect(0xb6af2000, 61440, PROT_NONE)  = 0
mmap2(0xb6b01000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb6b01000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0H\37\0\0004\0\0\0"..., 512) = 512
lseek(3, 61836, SEEK_SET)               = 61836
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1120) = 1120
lseek(3, 61472, SEEK_SET)               = 61472
read(3, "A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\23\1\24"..., 47) = 47
fstat64(3, {st_mode=S_IFREG|0644, st_size=62956, ...}) = 0
mmap2(NULL, 127064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6ad0000
mprotect(0xb6adf000, 61440, PROT_NONE)  = 0
mmap2(0xb6aee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0xb6aee000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f63000
set_tls(0xb6f634c0, 0xb6f63c88, 0xb6f72050, 0xb6f634c0, 0xb6f72050) = 0
mprotect(0xb6e4f000, 8192, PROT_READ)   = 0
mprotect(0xb6aee000, 4096, PROT_READ)   = 0
mprotect(0xb6b01000, 4096, PROT_READ)   = 0
mprotect(0xb6ead000, 4096, PROT_READ)   = 0
mprotect(0xb6b7a000, 4096, PROT_READ)   = 0
mprotect(0xb6ba7000, 4096, PROT_READ)   = 0
mprotect(0xb6c75000, 4096, PROT_READ)   = 0
mprotect(0xb6c99000, 4096, PROT_READ)   = 0
mprotect(0xb6cca000, 4096, PROT_READ)   = 0
mprotect(0xb6ce1000, 4096, PROT_READ)   = 0
mprotect(0xb6d13000, 4096, PROT_READ)   = 0
mprotect(0xb6e7c000, 45056, PROT_READ)  = 0
mprotect(0xb6f28000, 8192, PROT_READ)   = 0
mprotect(0xb6f2b000, 20480, PROT_READ|PROT_WRITE) = 0
mprotect(0xb6f2b000, 20480, PROT_READ|PROT_EXEC) = 0
cacheflush(0xb6f2b000, 0xb6f30000, 0, 0x15, 0) = 0
mprotect(0xb6f3f000, 4096, PROT_READ)   = 0
mprotect(0x1e44000, 16830464, PROT_READ) = 0
mprotect(0xb6f71000, 4096, PROT_READ)   = 0
munmap(0xb6f67000, 28101)               = 0
set_tid_address(0xb6f63068)             = 2357
set_robust_list(0xb6f63070, 12)         = 0
rt_sigaction(SIGRTMIN, {sa_handler=0xb6e8c2b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0xb6d426c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0xb6e8c390, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0xb6d426c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(NULL)                               = 0x3b13000
brk(0x3b34000)                          = 0x3b34000
statfs("/sys/fs/selinux", 0xbea4e5cc)   = -1 ENOENT (No such file or directory)
statfs("/selinux", 0xbea4e5cc)          = -1 ENOENT (No such file or directory)
open("/proc/filesystems", O_RDONLY)     = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tr"..., 1024) = 310
read(3, "", 1024)                       = 0
close(3)                                = 0
access("/etc/selinux/config", F_OK)     = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x884a59} ---
+++ killed by SIGSEGV +++
Segmentation fault

Similar to other reports all I get when running dockerd manually is "segmentation fault" and the logs report nothing interesting.

Docker version installed:

Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:57:21 2018
 OS/Arch:           linux/arm
 Experimental:      false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?```

Kernel info:
```Linux raspberrypi 4.14.71+ #1145 Fri Sep 21 15:06:38 BST 2018 armv6l GNU/Linux```

_Originally posted by @DutchessNicole in https://github.com/moby/moby/issues/29347#issuecomment-437581438_
@DutchessNicole

This comment has been minimized.

DutchessNicole commented Nov 10, 2018

@thaJeztah thank you for looking into it!

If necessary I can provide what little log info there is or traces.

thanks!

@thaJeztah

This comment has been minimized.

Member

thaJeztah commented Nov 11, 2018

Thanks for reporting!

Also reported in docker/compose#6335

/cc @seemethere @andrewhsu

@lucaszanella

This comment has been minimized.

lucaszanella commented Nov 11, 2018

Is there a way I can purge and install an older version for me to use docker for now? I really needed it.

@thaJeztah

This comment has been minimized.

Member

thaJeztah commented Nov 11, 2018

Sure; specify the version to install with apt https://askubuntu.com/a/92021, or use the instructions from this part of the installation docs https://docs.docker.com/install/linux/docker-ce/debian/#install-docker-ce-1

@lucaszanella

This comment has been minimized.

lucaszanella commented Nov 11, 2018

Could you tell me which version does not have the problem?

@lucaszanella

This comment has been minimized.

lucaszanella commented Nov 11, 2018

Ok it worked, I did

apt-cache madison docker-ce

and found the 16 version to be the latest and did

sudo apt-get install docker-ce=<VERSION_STRING>

@seemethere

This comment has been minimized.

Contributor

seemethere commented Nov 12, 2018

I think this is more about containerd than it is from dockerd, got a report from @fcrisciani that running containerd results in:

pi@us_rpi:~ $ /usr/bin/containerd
Illegal instruction

Currently investigating.

@seemethere

This comment has been minimized.

Contributor

seemethere commented Nov 12, 2018

@DutchessNicole Can you give me the output of your cat /proc/cpuinfo?

I was unable to reproduce this on a Raspberry Pi 3 Model B+ with:

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : BCM2835
Revision        : a020d3
Serial          : 000000005c9c6a5d
@wblake0000

This comment has been minimized.

wblake0000 commented Nov 13, 2018

I have the same problem. I have the RPI Model B Rev 1. Dump from cat /pro/cpuinfo
cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2835
Revision : 0002
Serial : 00000000d75050bd

FYI 18.06.1 did not have this issue. Going back to 18.06.1 worked successfully.
Update Spoke too soon. 18.06.1 did not seg fault on the dockerd but still had the containerd illegal instruction so containers don't appear to work

@agilob

This comment has been minimized.

agilob commented Nov 13, 2018

I believe the logs above are enough to diagnose the issue, but I'll add my logs too. Raspberry pi 1.

invoke-rc.d docker restart
Job for docker.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "restart" failed.
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: core-dump) since Mon 2018-11-12 19:46:18 UTC; 2s ago
     Docs: https://docs.docker.com
  Process: 1161 ExecStart=/usr/bin/dockerd -H unix:// (code=dumped, signal=SEGV)
 Main PID: 1161 (code=dumped, signal=SEGV)
      CPU: 438ms

Nov 12 19:46:18 rpi1 systemd[1]: docker.service: Main process exited, code=dumped, status=11/SEGV
Nov 12 19:46:18 rpi1 systemd[1]: Failed to start Docker Application Container Engine.
Nov 12 19:46:18 rpi1 systemd[1]: docker.service: Unit entered failed state.
Nov 12 19:46:18 rpi1 systemd[1]: docker.service: Failed with result 'core-dump'.
Nov 12 19:46:21 rpi1 systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 12 19:46:21 rpi1 systemd[1]: Stopped Docker Application Container Engine.
Nov 12 19:46:21 rpi1 systemd[1]: Starting Docker Application Container Engine...
root@rpi1:/home/pi# systemctl start docker
Job for docker.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status docker.service" and "journalctl -xe" for details.
root@rpi1:/home/pi# journalctl -xe
Nov 12 19:46:31 rpi1 systemd[1]: containerd.service: Failed with result 'core-dump'.
Nov 12 19:46:47 rpi1 systemd[1]: docker.service: Start request repeated too quickly.
Nov 12 19:46:47 rpi1 systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit docker.service has failed.
-- 
-- The result is failed.
Nov 12 19:46:47 rpi1 systemd[1]: docker.service: Failed with result 'core-dump'.
Nov 12 19:46:47 rpi1 systemd[1]: Starting containerd container runtime...
-- Subject: Unit containerd.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit containerd.service has begun starting up.
Nov 12 19:46:47 rpi1 systemd[1]: Started containerd container runtime.
-- Subject: Unit containerd.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit containerd.service has finished starting up.
-- 
-- The start-up result is done.
Nov 12 19:46:47 rpi1 systemd[1]: containerd.service: Main process exited, code=dumped, status=4/ILL
Nov 12 19:46:47 rpi1 systemd[1]: containerd.service: Unit entered failed state.
Nov 12 19:46:47 rpi1 systemd[1]: containerd.service: Failed with result 'core-dump'.


root@rpi1:/home/pi# /usr/bin/dockerd-ce 
Segmentation fault
@thaJeztah

This comment has been minimized.

Member

thaJeztah commented Nov 13, 2018

@agilob can you post the output of cat /proc/cpuinfo ?

@agilob

This comment has been minimized.

agilob commented Nov 13, 2018

pi@rpi1:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 997.08
Features        : half thumb fastmult vfp edsp java tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 000f
Serial          : 00000000c06f1f2c
@sapkra

This comment has been minimized.

sapkra commented Nov 13, 2018

I have the same problem with the Raspberry Pi Zero W - which has an older ARM CPU.

@agilob

This comment has been minimized.

agilob commented Nov 13, 2018

@sapkra rpi0w has almost the same CPU as 1B+. This works fine on my raspi0, but that's older version of docker: (.06 not .09)

pi@rpi0:~ $ sudo docker version
Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        e68fc7a
 Built:             Tue Aug 21 17:30:52 2018
 OS/Arch:           linux/arm
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:26:37 2018
  OS/Arch:          linux/arm
  Experimental:     false
pi@rpi0:~ $ cat /proc/cpuinfo 
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 997.08
Features        : half thumb fastmult vfp edsp java tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 9000c1
Serial          : 000000000227ba1b

You can downgrade to a working version sudo apt-get install docker-ce=18.06.1~ce~3-0~raspbian

@agilob

This comment has been minimized.

agilob commented Nov 13, 2018

I also confirm 18.09 works fine on raspberry pi 3:

pi@rpi3:~ $ sudo docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:57:21 2018
 OS/Arch:           linux/arm
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:17:57 2018
  OS/Arch:          linux/arm
  Experimental:     false
pi@rpi3:~ $ sudo docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
pi@rpi3:~ $ sudo systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-11-13 10:21:51 GMT; 46s ago
     Docs: https://docs.docker.com
 Main PID: 6337 (dockerd)
   Memory: 68.9M
      CPU: 2.960s
   CGroup: /system.slice/docker.service
           ├─ 6337 /usr/bin/dockerd -H unix://
           └─24195 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/b6e150046b81ddde1ba1a6eb2853f88e403d6eb147529e70173ebb9876899f4d -address /var/run/docker/containerd/docke

Nov 13 10:21:41 rpi3 dockerd[6337]: time="2018-11-13T10:21:41.177308277Z" level=warning msg="Your kernel does not support cgroup rt period"
Nov 13 10:21:41 rpi3 dockerd[6337]: time="2018-11-13T10:21:41.177440671Z" level=warning msg="Your kernel does not support cgroup rt runtime"
Nov 13 10:21:41 rpi3 dockerd[6337]: time="2018-11-13T10:21:41.178585765Z" level=warning msg="mountpoint for pids not found"
Nov 13 10:21:41 rpi3 dockerd[6337]: time="2018-11-13T10:21:41.180547777Z" level=info msg="Loading containers: start."
Nov 13 10:21:44 rpi3 dockerd[6337]: time="2018-11-13T10:21:44.399340311Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Nov 13 10:21:47 rpi3 dockerd[6337]: time="2018-11-13T10:21:47.528665834Z" level=info msg="Loading containers: done."
Nov 13 10:21:50 rpi3 dockerd[6337]: time="2018-11-13T10:21:50.998381326Z" level=info msg="Docker daemon" commit=4d60db4 graphdriver(s)=overlay2 version=18.09.0
Nov 13 10:21:51 rpi3 dockerd[6337]: time="2018-11-13T10:21:51.000858751Z" level=info msg="Daemon has completed initialization"
Nov 13 10:21:51 rpi3 dockerd[6337]: time="2018-11-13T10:21:51.338383593Z" level=info msg="API listen on /var/run/docker.sock"
Nov 13 10:21:51 rpi3 systemd[1]: Started Docker Application Container Engine.
@ReallyAwesomeShoes

This comment has been minimized.

ReallyAwesomeShoes commented Nov 13, 2018

I have the same problem with the Raspberry Pi Zero W armv6l. Docker 18.09.0 service failed to run after installation, no matter what, failed !

@seemethere

This comment has been minimized.

Contributor

seemethere commented Nov 14, 2018

Yeah seems that the problem is isolated to armv6l although the build process for the arm bits hasn't changed at all.

Still trying to isolate the problem but don't currently have the hardware to test properly.

@ReallyAwesomeShoes

This comment has been minimized.

ReallyAwesomeShoes commented Nov 15, 2018

Is there a way for us to help you to test it ? I have some spare Pi zero at home.

@DutchessNicole

This comment has been minimized.

DutchessNicole commented Nov 15, 2018

@seemethere

processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 000d
Serial		: 00000000857eb250

Sorry for the late reply. I've had surgery a few days ago and I'm not particularly lucid yet.
Please just let me know if you need anything else.

@cjdcordeiro

This comment has been minimized.

cjdcordeiro commented Nov 15, 2018

I've the same problem on RPi Zero W.

@thaJeztah says https://docs.docker.com/install/linux/docker-ce/debian/#install-docker-ce-1 is doable for RPi, but on top there's a note saying you can't install from a repository for Raspbian...so that's a bit confusing. I've managed to install apt-get install docker-ce=18.06.1~ce~3-0~debian nevertheless (not raspbian), but still, I have the same problem. If I downgrade more onto 18.06.0 I'll then get a Illegal instruction.

So I'm not sure how you guys: 1st downgraded to an older raspbian version of docker; and 2nd, made it work cause for me it is still failing (with the debian version).

It is worth saying that it used to work for me in the past with 18.06...-raspbian

@agilob

This comment has been minimized.

agilob commented Nov 16, 2018

@seemethere I can import your ssh key from github and add this to my ssh-server raspi0 where you could try things if that helps?

@ReallyAwesomeShoes

This comment has been minimized.

ReallyAwesomeShoes commented Nov 16, 2018

Here is the output for docker version command when I tried to install with the "curl -sSL https://get.docker.com | sh".

Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:57:21 2018
OS/Arch: linux/arm
Experimental: false
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/version: dial unix /var/run/docker.sock: connect: permission denied

@nicholasrobertm

This comment has been minimized.

nicholasrobertm commented Nov 16, 2018

Thanks for looking into this! I've added all associating details on the other card here:
docker/for-linux#490

If anything else is needed let me know and I'll pull it!

@nicholasrobertm

This comment has been minimized.

nicholasrobertm commented Nov 16, 2018

Also to be clear for those having issues, to resolve this (on ARM 6 at least) I've confirmed running:
sudo apt-get install docker-ce=18.06.1~ce~3-0~raspbian

Resolves the issue (It will downgrade versions)

@ReallyAwesomeShoes

This comment has been minimized.

ReallyAwesomeShoes commented Nov 17, 2018

Not for me :-(

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
The following additional packages will be installed:
  aufs-dkms aufs-tools cgroupfs-mount cpp-4.6 dkms gcc-4.6 git git-man liberror-perl libltdl7 linux-headers-3.6-trunk-common
  linux-headers-3.6-trunk-rpi linux-kbuild-3.6 linux-kbuild-4.9 pigz
Paquets suggérés :
  aufs-dev gcc-4.6-locales python3-apport menu libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg libquadmath-dbg libmudflap0-dbg
  libcloog-ppl1 | libcloog-ppl0 libppl-c4 libppl12 | libppl9 binutils-gold git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
  git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
Les NOUVEAUX paquets suivants seront installés :
  aufs-dkms aufs-tools cgroupfs-mount cpp-4.6 dkms docker-ce gcc-4.6 git git-man liberror-perl libltdl7 linux-headers-3.6-trunk-common
  linux-headers-3.6-trunk-rpi linux-kbuild-3.6 linux-kbuild-4.9 pigz
0 mis à jour, 16 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 47,9 Mo dans les archives.
Après cette opération, 216 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de:1 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf liberror-perl all 0.17024-1 [26,9 kB]
Réception de:2 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf git-man all 1:2.11.0-3+deb9u4 [1 433 kB]
Réception de:9 https://download.docker.com/linux/raspbian stretch/stable armhf docker-ce armhf 18.06.1~ce~3-0~raspbian [28,3 MB]
Réception de:3 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf git armhf 1:2.11.0-3+deb9u4 [3 390 kB]                     
Réception de:4 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf pigz armhf 2.3.4-1 [50,0 kB]                               
Réception de:5 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf dkms all 2.3-2 [74,8 kB]                                   
Réception de:6 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf linux-kbuild-4.9 armhf 4.9.82-1+deb9u3+rpi1 [709 kB]       
Réception de:7 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf aufs-dkms armhf 4.9+20161219-1 [169 kB]                    
Réception de:8 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf aufs-tools armhf 1:4.1+20161219-1 [101 kB]                 
Réception de:10 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf cgroupfs-mount all 1.3 [5 716 B]                          
Réception de:11 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf cpp-4.6 armhf 4.6.4-5+rpi1 [4 145 kB]                     
Réception de:12 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf libltdl7 armhf 2.4.6-2 [386 kB]                           
Réception de:13 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf gcc-4.6 armhf 4.6.4-5+rpi1 [4 363 kB]                     
Réception de:14 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf linux-headers-3.6-trunk-common armhf 3.6.9-1~experimental.1+rpi7 [4 189 kB]
Réception de:15 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf linux-kbuild-3.6 armhf 3.6-1~experimental.1+rpi2+b2 [136 kB]
Réception de:16 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf linux-headers-3.6-trunk-rpi armhf 3.6.9-1~experimental.1+rpi7 [414 kB]
47,9 Mo réceptionnés en 2min 41s (297 ko/s)                                                                                                
Sélection du paquet liberror-perl précédemment désélectionné.
(Lecture de la base de données... 36343 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../00-liberror-perl_0.17024-1_all.deb ...
Dépaquetage de liberror-perl (0.17024-1) ...
Sélection du paquet git-man précédemment désélectionné.
Préparation du dépaquetage de .../01-git-man_1%3a2.11.0-3+deb9u4_all.deb ...
Dépaquetage de git-man (1:2.11.0-3+deb9u4) ...
Sélection du paquet git précédemment désélectionné.
Préparation du dépaquetage de .../02-git_1%3a2.11.0-3+deb9u4_armhf.deb ...
Dépaquetage de git (1:2.11.0-3+deb9u4) ...
Sélection du paquet pigz précédemment désélectionné.
Préparation du dépaquetage de .../03-pigz_2.3.4-1_armhf.deb ...
Dépaquetage de pigz (2.3.4-1) ...
Sélection du paquet dkms précédemment désélectionné.
Préparation du dépaquetage de .../04-dkms_2.3-2_all.deb ...
Dépaquetage de dkms (2.3-2) ...
Sélection du paquet linux-kbuild-4.9 précédemment désélectionné.
Préparation du dépaquetage de .../05-linux-kbuild-4.9_4.9.82-1+deb9u3+rpi1_armhf.deb ...
Dépaquetage de linux-kbuild-4.9 (4.9.82-1+deb9u3+rpi1) ...
Sélection du paquet aufs-dkms précédemment désélectionné.
Préparation du dépaquetage de .../06-aufs-dkms_4.9+20161219-1_armhf.deb ...
Dépaquetage de aufs-dkms (4.9+20161219-1) ...
Sélection du paquet aufs-tools précédemment désélectionné.
Préparation du dépaquetage de .../07-aufs-tools_1%3a4.1+20161219-1_armhf.deb ...
Dépaquetage de aufs-tools (1:4.1+20161219-1) ...
Sélection du paquet cgroupfs-mount précédemment désélectionné.
Préparation du dépaquetage de .../08-cgroupfs-mount_1.3_all.deb ...
Dépaquetage de cgroupfs-mount (1.3) ...
Sélection du paquet cpp-4.6 précédemment désélectionné.
Préparation du dépaquetage de .../09-cpp-4.6_4.6.4-5+rpi1_armhf.deb ...
Dépaquetage de cpp-4.6 (4.6.4-5+rpi1) ...
Sélection du paquet libltdl7:armhf précédemment désélectionné.
Préparation du dépaquetage de .../10-libltdl7_2.4.6-2_armhf.deb ...
Dépaquetage de libltdl7:armhf (2.4.6-2) ...
Sélection du paquet docker-ce précédemment désélectionné.
Préparation du dépaquetage de .../11-docker-ce_18.06.1~ce~3-0~raspbian_armhf.deb ...
Dépaquetage de docker-ce (18.06.1~ce~3-0~raspbian) ...
Sélection du paquet gcc-4.6 précédemment désélectionné.
Préparation du dépaquetage de .../12-gcc-4.6_4.6.4-5+rpi1_armhf.deb ...
Dépaquetage de gcc-4.6 (4.6.4-5+rpi1) ...
Sélection du paquet linux-headers-3.6-trunk-common précédemment désélectionné.
Préparation du dépaquetage de .../13-linux-headers-3.6-trunk-common_3.6.9-1~experimental.1+rpi7_armhf.deb ...
Dépaquetage de linux-headers-3.6-trunk-common (3.6.9-1~experimental.1+rpi7) ...
Sélection du paquet linux-kbuild-3.6 précédemment désélectionné.
Préparation du dépaquetage de .../14-linux-kbuild-3.6_3.6-1~experimental.1+rpi2+b2_armhf.deb ...
Dépaquetage de linux-kbuild-3.6 (3.6-1~experimental.1+rpi2+b2) ...
Sélection du paquet linux-headers-3.6-trunk-rpi précédemment désélectionné.
Préparation du dépaquetage de .../15-linux-headers-3.6-trunk-rpi_3.6.9-1~experimental.1+rpi7_armhf.deb ...
Dépaquetage de linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Paramétrage de aufs-tools (1:4.1+20161219-1) ...
Paramétrage de git-man (1:2.11.0-3+deb9u4) ...
Paramétrage de liberror-perl (0.17024-1) ...
Paramétrage de cpp-4.6 (4.6.4-5+rpi1) ...
Paramétrage de linux-headers-3.6-trunk-common (3.6.9-1~experimental.1+rpi7) ...
Paramétrage de cgroupfs-mount (1.3) ...
Paramétrage de dkms (2.3-2) ...
Paramétrage de linux-kbuild-4.9 (4.9.82-1+deb9u3+rpi1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.24-11+deb9u3) ...
Traitement des actions différées (« triggers ») pour systemd (232-25+deb9u6) ...
Paramétrage de libltdl7:armhf (2.4.6-2) ...
Paramétrage de gcc-4.6 (4.6.4-5+rpi1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.6.1-2) ...
Paramétrage de linux-kbuild-3.6 (3.6-1~experimental.1+rpi2+b2) ...
Paramétrage de pigz (2.3.4-1) ...
Paramétrage de git (1:2.11.0-3+deb9u4) ...
Paramétrage de docker-ce (18.06.1~ce~3-0~raspbian) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
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 Sat 2018-11-17 17:16:54 CET; 172ms ago
     Docs: https://docs.docker.com
  Process: 10263 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
 Main PID: 10263 (code=exited, status=1/FAILURE)
      CPU: 1.641s

nov. 17 17:16:54 Raspi systemd[1]: docker.service: Unit entered failed state.
nov. 17 17:16:54 Raspi systemd[1]: docker.service: Failed with result 'exit-code'.
nov. 17 17:16:54 Raspi systemd[1]: docker.service: Service hold-off time over, scheduling restart.
nov. 17 17:16:54 Raspi systemd[1]: Stopped Docker Application Container Engine.
dpkg: erreur de traitement du paquet docker-ce (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Paramétrage de aufs-dkms (4.9+20161219-1) ...
Loading new aufs-4.9+20161219 DKMS files...
It is likely that 4.14.71+ belongs to a chroot's host
Building for 3.6-trunk-rpi, 4.14.79+ and 4.14.79-v7+
Building initial module for 3.6-trunk-rpi
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Skipped.
Module build for kernel 4.14.79+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.79-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Paramétrage de linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.6-trunk-rpi
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.
Traitement des actions différées (« triggers ») pour libc-bin (2.24-11+deb9u3) ...
Traitement des actions différées (« triggers ») pour systemd (232-25+deb9u6) ...
Des erreurs ont été rencontrées pendant l'exécution :
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
@nicholasrobertm

This comment has been minimized.

nicholasrobertm commented Nov 18, 2018

Not for me :-(

Did you run the docker install script first before doing this? My steps were:
Install rasbian lite image
Enable ssh on the pi, and setup network config
Run docker install script here
Run sudo apt-get install docker-ce=18.06.1~ce~3-0~raspbian

Otherwise are you on different hardware or something like that? Would need further details otherwise

@ReallyAwesomeShoes

This comment has been minimized.

ReallyAwesomeShoes commented Nov 19, 2018

Hi nicholasrobertm,

thanks for your help ! Here is my hardware version of the pi :

processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 997.08 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7

Hardware : BCM2835
Revision : 9000c1
Serial : 000000000d2025f7

In fact, you're right, you just need to do what you described first, no update no upgrade and all works fine.

Thanks, you save my day !

@seemethere

This comment has been minimized.

Contributor

seemethere commented Nov 19, 2018

So I got a raspberry pi 0 setup and have found that most of our static binary bits are coming down with a seg fault / illegal instruction as well:

These are from: https://download.docker.com/linux/static/stable/armhf/docker-18.09.0.tgz

pi@raspberrypi:~ $ for binary in ./armhf/*; do echo $binary; $binary 2>/dev/null; done
./armhf/containerd
Segmentation fault
./armhf/containerd-shim
./armhf/ctr
Segmentation fault
./armhf/docker
./armhf/dockerd
Segmentation fault
./armhf/docker-init
Illegal instruction
./armhf/docker-proxy
./armhf/runc
Illegal instruction

This leads me to believe it might be a golang issue that's actually causing this, some output from gdb on some of our binaries:

runc

./armhf/runc
Reading symbols from ./armhf/runc...done.
Starting program: /home/pi/armhf/runc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x0005f04a in runtime.typelinksinit ()
#0  0x0005f04a in runtime.typelinksinit ()
#1  0x0001052e in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

dockerd

./armhf/dockerd
Reading symbols from ./armhf/dockerd...done.
Starting program: /home/pi/armhf/dockerd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0005db14 in runtime.slicerunetostring ()
#0  0x0005db14 in runtime.slicerunetostring ()
#1  0x0001052a in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

ctr

./armhf/ctr
Reading symbols from ./armhf/ctr...(no debugging symbols found)...done.
Starting program: /home/pi/armhf/ctr

Program received signal SIGSEGV, Segmentation fault.
0x0005f3b8 in ?? ()
#0  0x0005f3b8 in ?? ()
#1  0x0001037e in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

containerd

./armhf/containerd
Reading symbols from ./armhf/containerd...(no debugging symbols found)...done.
Starting program: /home/pi/armhf/containerd

Program received signal SIGSEGV, Segmentation fault.
0x0005ea66 in ?? ()
#0  0x0005ea66 in ?? ()
#1  0x0001037e in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

docker-init

./armhf/docker-init
Reading symbols from ./armhf/docker-init...(no debugging symbols found)...done.
Starting program: /home/pi/armhf/docker-init

Program received signal SIGILL, Illegal instruction.
0x00010a62 in ?? ()
#0  0x00010a62 in ?? ()
#1  0x00062b52 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
@DutchessNicole

This comment has been minimized.

DutchessNicole commented Nov 23, 2018

Also to be clear for those having issues, to resolve this (on ARM 6 at least) I've confirmed running:
sudo apt-get install docker-ce=18.06.1~ce~3-0~raspbian

Resolves the issue (It will downgrade versions)

This did resolve the issue for me, at least temporarily. Thank you for this workaround!

@gbrault

This comment has been minimized.

gbrault commented Nov 24, 2018

@seemethere do you have any idea if this can / will be corrected? Or does it mean docker compatibility with armv6 will stop? Of course I have applied @nicholasrobertm and it works great! Thx nicholas.

@StefanSchoof

This comment has been minimized.

StefanSchoof commented Nov 26, 2018

Or can you at least remove this broken armv6 build from the package repository. So that a apt-get install results into the working 18.06.1 version. Otherwise more people will run into this problem.

@gbrault

This comment has been minimized.

gbrault commented Nov 28, 2018

I have also another small issue: docker doesn't start at boot when enabled with systemd (using raspbian on raspberry zero w November release).
I found a turnarround solution adding in /lib/systemd/system/docker.service getty.target in After

After=network-online.target docker.socket firewalld.service getty.target

I open the docker IP with
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H fd://

adding the tcp binding...

One issue docker find is that cgroups seems not managed and the OOM monitoring fails see attached
docker.txt

@StefanSchoof

This comment has been minimized.

StefanSchoof commented Dec 1, 2018

To get my apt-get upgrade working again, I created a apt pinning file under /etc/apt/preferences.d/docker-ce :

Package: docker-ce
Pin: version 18.06.1*
Pin-Priority: 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment