Docker Community Forums

Share and learn in the Docker community.

Docker Containers won't start on Raspberry Pi 3 B+

I’ve been trying to deploy containers on my Raspberry Pi 3 B+ and they all seem to Exit with Code 139 immediately. It appears to me that there is an issue deploying the virtual network device, based on dmesg. docker logs [container] does not have any. entries for any of the containers. Below are some information on the environment and dmesg to see if anyone can point me in the right direction. Thank you!

Background Information
Docker Version: Docker version 20.10.6, build 370c289
Docker Info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)

Server:
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 5
Server Version: 20.10.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
runc version: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.17+
Operating System: Raspbian GNU/Linux 10 (buster)
OSType: linux
Architecture: armv6l
CPUs: 1
Total Memory: 430.1MiB
Name:
ID: AOPC:7VT7:JOHV:XM7P:NON3:V2EI:IEKU:ODTL:CRDU:HN5G:2WQE:Q44E
Docker Root Dir: /var/lib/docker
Debug Mode: false
Username:
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support
WARNING: No cpuset support
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support

dmesg

[15124.506784] docker0: port 1(vethd909d17) entered forwarding state
[15136.041062] docker0: port 1(vethd909d17) entered disabled state
[15136.132687] eth0: renamed from veth7a2cb93
[15136.228158] docker0: port 1(vethd909d17) entered blocking state
[15136.228198] docker0: port 1(vethd909d17) entered forwarding state
[15138.739284] docker0: port 1(vethd909d17) entered disabled state
[15138.764083] veth7a2cb93: renamed from eth0
[15139.056507] docker0: port 1(vethd909d17) entered disabled state
[15139.068062] device vethd909d17 left promiscuous mode
[15139.068112] docker0: port 1(vethd909d17) entered disabled state

A Raspberry Pi 3 Model B or Raspberry Pi 3 Model B+ Single Board Computer device.
At least 16GB of microSD Card for installing Ubuntu Core.
An Ethernet Cable for internet connection. You can also use the built-in Wi-Fi for the internet. But I prefer wired connection as I think it’s more reliable.
HDMI Cable.
A Monitor with HDMI port.
An USB Keyboard for configuring Ubuntu Core for the first time.
A Power Adapter for the Raspberry Pi.
Install Ubuntu Core on Raspberry Pi 3:
I showed you how to install and configure Ubuntu Core on Raspberry Pi 2 and Raspberry Pi 3 in another Raspberry Pi article I wrote on LinuxHint. You can check it at (Link to the Install Ubuntu on Raspberry Pi article)