The image is based on the official code provided by RIPE NCC, with a few tweaks to make it run under Alpine Linux. Alpine is based on musl, not glibc, and that makes the image a lot smaller and faster to run in containers. I'm currently running it on my hAP ac³ and it is working great
To use this image is very simple:
Code: Select all
# Create veth interface
/interface/veth/add address=172.16.0.1/24 gateway=172.16.0.254 name=veth1
# Create bridge interface
/interface/bridge/add admin-mac=00:53:FF:1A:2B:3C auto-mac=no mtu=1500 name=bridge-docker
# Add IPv4 to bridge
/ip/address/add address=172.16.0.254/24 interface=bridge-docker
# Add veth to bridge
/interface/bridge/port/add bridge=bridge-docker ingress-filtering=no interface=veth1
# Add bridge to LAN (so it can do NAT)
/interface/list/member/add interface=bridge-docker list=LAN
# Create mounts for /var/atlas-probe/etc and /var/atlas-probe/status
/container/mounts/add dst=/var/atlas-probe/etc name=atlas-probe-etc src=atlas-probe-etc
/container/mounts/add dst=/var/atlas-probe/status name=atlas-probe-status src=atlas-probe-status
# Create container
/container/add dns=172.16.0.254 hostname=ripe-atlas interface=veth1 mounts=atlas-probe-etc,atlas-probe-status root-dir=ripe-atlas start-on-boot=yes remote-image=ctassisf/ripe-atlas-alpine:latest
# Start container
/container/start number=0
# Check if container is status=running
/container/print
Use the public SSH key probe_key.pub saved in your router's storage to register your probe here: https://atlas.ripe.net/apply/swprobe/
And then let me know if it worked for you
This is still a work in progress. Maybe there's something not quite right. I'm also interested in making IPv6 work (either natively or through NAT) but I wasn't able to do so yet.
You can see my probe running here. I'm also attaching some screenshots showing how my hAP ac³ is handling the load (it doesn't make a dent lol).
Project is available on GitHub and Docker Hub.
More info can also be found on MikroTik Documentation.