Date created: Wednesday, January 4, 2023 9:57:09 PM. Last modified: Wednesday, April 12, 2023 3:55:31 PM


Docker-Compose on ARM (ODROID-N2)

The iptables version used by ODROID-N2 is not compatability with docker-compose. Docker-compose is unable to create iptable rules when starting containers (even though Docker is able to). As a temporary fix, prevent docker-compose from creating iptable rules (this doesn't apply to containers which use host networking, only port forwarding) by adding "--iptables=false" to the ExecStart definition:

$ cat /usr/lib/systemd/system/docker.service | grep ExecStart
ExecStart=/usr/bin/dockerd --iptables=false -H fd:// --containerd=/run/containerd/containerd.sock

$ sudo systemctl daemon-reload
$ sudo systemctl restart docker



Set sysctl settings:

build: .
- net.ipv6.conf.all.disable_ipv6=1


Previous page: Docker
Next page: dropwatch