image-builder-rpi icon indicating copy to clipboard operation
image-builder-rpi copied to clipboard

Docker official images exit with error 139 immediately

Open washichi opened this issue 3 years ago • 0 comments

I'm running hypriotos-rpi-v1.12.3.img.zip, on my Rpi 3B +, but some containers will exit immediately after launching with error 139. They don't generate logs.

It happens with nginx: https://stackoverflow.com/questions/64993898/docker-nginx-exit-code-139 also with the official matomo image. I don't have problems with: hypriot/rpi-mysql, portainer, netdata

I didn't find any information about this problem, (with the limited information I have) it looks like an hypriot problem, because I use a clean hypriot setup and pull the docker official images, which work on a setup without hypriot.

'docker inspect gninx' output: [ { "Id": "sha256:7c554206e557aea70d592e48b168d66c8e5ee6604e064cbc20b92bff10a3bc3a", "RepoTags": [ "nginx:latest" ], "RepoDigests": [ "nginx@sha256:c3a1592d2b6d275bef4087573355827b200b00ffc2d9849890a4f3aa2128c4ae" ], "Parent": "", "Comment": "", "Created": "2020-11-17T22:54:26.514640916Z", "Container": "758473294fb95509727018334cc52a102816a0c1c57e6e85a4dcf1158a5be180", "ContainerConfig": { "Hostname": "758473294fb9", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "80/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "NGINX_VERSION=1.19.4", "NJS_VERSION=0.4.4", "PKG_RELEASE=1~buster" ], "Cmd": [ "/bin/sh", "-c", "#(nop) ", "CMD [\"nginx\" \"-g\" \"daemon off;\"]" ], "Image": "sha256:3f83e43f035de87c25066e7044216d38353611558187fa4a3335b2c18d3e06a8", "Volumes": null, "WorkingDir": "", "Entrypoint": [ "/docker-entrypoint.sh" ], "OnBuild": null, "Labels": { "maintainer": "NGINX Docker Maintainers <[email protected]>" }, "StopSignal": "SIGTERM" }, "DockerVersion": "19.03.12", "Author": "", "Config": { "Hostname": "", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "80/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "NGINX_VERSION=1.19.4", "NJS_VERSION=0.4.4", "PKG_RELEASE=1~buster" ], "Cmd": [ "nginx", "-g", "daemon off;" ], "Image": "sha256:3f83e43f035de87c25066e7044216d38353611558187fa4a3335b2c18d3e06a8", "Volumes": null, "WorkingDir": "", "Entrypoint": [ "/docker-entrypoint.sh" ], "OnBuild": null, "Labels": { "maintainer": "NGINX Docker Maintainers <[email protected]>" }, "StopSignal": "SIGTERM" }, "Architecture": "arm", "Os": "linux",

washichi avatar Dec 03 '20 14:12 washichi