When running Docker on Raspberry Pi starting containers fails from time to time When running Docker on Raspberry Pi starting containers fails from time to time docker docker

When running Docker on Raspberry Pi starting containers fails from time to time


As you used our Resin port of Docker I'll assume that you're running Arch Linux. In Arch Linux the latest LXC package is lxc-1.0 and Docker has known problems with this version of LXC [1].

Downgrading LXC to 0.9 or 0.8 should fix the problem. Arch Linux keeps a cache of packages recently downloaded in /var/cache/pacman/pkg. So, as root, do pacman -U /var/cache/pacman/pkg/lxc-<VERSION> and then restart your Docker daemon.

If you don't find a cached package there you'll find more ways to do it here [2].

[1] Race condition with lxc-info #4298 (GitHub)

[2] Downgrading packages (Arch Linux wiki)