question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation of Moby fails on Raspberry Pi Zero W

See original GitHub issue

I just received my brand new Raspberry Pi Zero W: https://www.raspberrypi.org/products/raspberry-pi-zero-w/

To start with, I installed NOOBS on it: https://www.raspberrypi.org/downloads/noobs/

My goal is to connect it to my Azure IoT Hub, so I’m trying to install Azure IoT Edge on it using this tutorial: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux-arm

Unfortunately I get an error when I run the first command in the tutorial:

# Download and install the moby-engine
curl -L https://aka.ms/moby-engine-armhf-latest -o moby_engine.deb && sudo dpkg -i ./moby_engine.deb

The following error occurs:

pi@raspberrypi:~ $ sudo curl -L https://aka.ms/moby-engine-armhf-latest -o moby_engine.deb && sudo dpkg -i ./moby_engine.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0    644      0 --:--:-- --:--:-- --:--:--   647
100 15.4M  100 15.4M    0     0  1157k      0  0:00:13  0:00:13 --:--:-- 1314k
(Reading database ... 115462 files and directories currently installed.)
Preparing to unpack ./moby_engine.deb ...
Unpacking moby-engine (1.0.0-1) over (1.0.0-1) ...
Setting up moby-engine (1.0.0-1) ...
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.
docker.service couldn't start.

The command “systemctl status docker.service” gives me the following:

pi@raspberrypi:~ $ systemctl status docker.service
 docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: failed (Result: core-dump) since Sun 2018-07-08 10:11:02 CEST; 4s ago
     Docs: https://docs.docker.com
  Process: 1734 ExecStart=/usr/bin/dockerd -H fd:// (code=dumped, signal=SEGV)
 Main PID: 1734 (code=dumped, signal=SEGV)
      CPU: 278ms

Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 10:11:02 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 08 10:11:02 raspberrypi systemd[1]: Stopped Docker Application Container Engine.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Start request repeated too quickly.
Jul 08 10:11:02 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.

The command “journalctl -xe” gives me the following:

-- Unit docker.socket has begun starting up.
Jul 08 10:11:02 raspberrypi systemd[1]: Listening on Docker Socket for the API.
-- Subject: Unit docker.socket has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit docker.socket has finished starting up.
-- 
-- The start-up result is done.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Start request repeated too quickly.
Jul 08 10:11:02 raspberrypi 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.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.socket: Unit entered failed state.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 10:11:02 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.

The command “journalctl -u docker.service” gives me the following:

pi@raspberrypi:~ $ journalctl -u docker.service
-- Logs begin at Thu 2016-11-03 18:16:44 CET, end at Sun 2018-07-08 11:10:41 CEST. --
Jul 08 11:06:22 raspberrypi systemd[1]: Starting Docker Application Container Engine...
Jul 08 11:06:25 raspberrypi systemd[1]: docker.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 11:06:25 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Jul 08 11:06:25 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 11:06:25 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.
Jul 08 11:06:25 raspberrypi systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 08 11:06:25 raspberrypi systemd[1]: Stopped Docker Application Container Engine.
Jul 08 11:06:25 raspberrypi systemd[1]: Starting Docker Application Container Engine...
Jul 08 11:06:29 raspberrypi systemd[1]: docker.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 11:06:29 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Jul 08 11:06:29 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 11:06:29 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.
Jul 08 11:06:29 raspberrypi systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 08 11:06:29 raspberrypi systemd[1]: Stopped Docker Application Container Engine.
Jul 08 11:06:29 raspberrypi systemd[1]: Starting Docker Application Container Engine...
Jul 08 11:06:33 raspberrypi systemd[1]: docker.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 11:06:33 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Jul 08 11:06:33 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 11:06:33 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.
Jul 08 11:06:34 raspberrypi systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Jul 08 11:06:34 raspberrypi systemd[1]: Stopped Docker Application Container Engine.
Jul 08 11:06:34 raspberrypi systemd[1]: docker.service: Start request repeated too quickly.
Jul 08 11:06:34 raspberrypi systemd[1]: Failed to start Docker Application Container Engine.
Jul 08 11:06:34 raspberrypi systemd[1]: docker.service: Unit entered failed state.
Jul 08 11:06:34 raspberrypi systemd[1]: docker.service: Failed with result 'core-dump'.

I would really appreciate some help, thank you!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
HeathersZencommented, Oct 14, 2019

FWIW, no having support for Pi Zero W is a deal breaker for using Azure IoT. The form factor and price at scale are far more compelling then the runtime. While I’d prefer to use Azure IoT, it’s got to support the platforms we need. 🤷‍♀

3reactions
ghostcommented, Sep 20, 2018

This would be marvellous to have. In some use case a device like Pi Zero W it’s cost effective!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failing to get docker installed on a Pi Zero W : r/raspberry_pi
I toyed with docker last year and it worked fine on two Pi Zero W's. I've been trying again today with no luck...
Read more >
Running docker on Raspberry Pi Zero W
This message shows that your installation appears to be working correctly. To generate this message, Docker took the following steps: 1.
Read more >
Docker Daemon failing to start on Raspberry Pi 1 & Zeros
I tried this on a Pi Zero W with Raspbian Stretch and could not get the proper behavior when running 'docker run hello-world'...
Read more >
Instructions for Cmake on Raspberry Pi Zero are inaccurate
Extra step 2 is to install a fortrain compiler with “sudo apt-get install gfortran”; Step 3 is to clone the tensorflow repository as...
Read more >
Recent update to Raspberry Pi OS Lite breaks Pi Zero
This time, there was a newer release of raspios lite, from 2022-04-04, and installing it resulted in the same mmc0: error -110, on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found