Closed andrey-yantsen closed 3 years ago
Great thanks, please write how it works !
It worked like a charm, thanks! It's very sad though, that it's impossible to use the Bluetooth chip from Docker without --net=host
.
Maybe its possible to skip netowrk host and use some caps, maybe --cap-add NET_ADMIN ?
Didn't worked for me :( Everything was fine only with net=host.
just a small notice for anybody actually trying this on a rpi0.
during pull, I needed to add the platform like this:
docker pull --platform=linux/arm/v6 zewelor/bt-mqtt-gateway
to allow that parameter you need to create / edit this file:
/etc/docker/daemon.json
{
"experimental": true
}
otherwise it keep downloading the armv7 image and crash during start.
@h4de5 it was fixed in https://github.com/containerd/containerd/pull/4530, and works for me just fine, when docker installed not from the debian repo.
I was on raspbian 8 (4.19) - using docker 18.06.3-ce. havn't updated that in a while.
Description
After this change github-actions would start building ARMv6 images in addition to existing ones.
I'm building my own cluster of RPi0, to use in home automation and the easiest way to deploy everything is to use Docker. Yeah, I know that it's crazy — to use Docker on rpi0, but anyway.
Type of change
Please delete options that are not relevant.