# RIPE Atlas Docker Image This is the [RIPE Atlas software probe](https://atlas.ripe.net/docs/software-probe/) packaged as a Docker image. [![Build Status](https://dev.azure.com/nekomimiswitch/General/_apis/build/status/docker-ripe-atlas?branchName=master)](https://dev.azure.com/nekomimiswitch/General/_build/latest?definitionId=83&branchName=master) ## Requirements * 1 CPU core (of course) * 20MiB memory * 100MiB HDD * A Linux installation with Docker installed * Internet access ## Tags The following prebuilt tags are available at [Docker Hub](https://hub.docker.com/r/jamesits/ripe-atlas). Just use `latest` tag and Docker will select image variant automatically. * **`latest`: For all supported devices listed below (multi-arch)** * `latest-arm64`: For arm64 (aarch64) devices * `latest-armel`: For armv6l (armel) devices * `latest-armv7l`: For armv7l (armhf) devices * `latest-i386`: For i386 devices * `latest-amd64`: For amd64 devices ## Running First we start the container: ```shell docker run --detach --restart=always \ --log-driver json-file --log-opt max-size=10m \ --cpus=1 --memory=64m --memory-reservation=64m \ --cap-add=SYS_ADMIN --cap-add=NET_RAW --cap-add=CHOWN \ -v /var/atlas-probe/etc:/var/atlas-probe/etc \ -v /var/atlas-probe/status:/var/atlas-probe/status \ -e RXTXRPT=yes \ --name ripe-atlas --hostname "$(hostname --fqdn)" \ jamesits/ripe-atlas:latest ``` Then we fetch the generated public key: ```shell cat /var/atlas-probe/etc/probe_key.pub ``` [Register](https://atlas.ripe.net/apply/swprobe/) the probe with your public key. After the registration being manually processed, you'll see your new probe in your account. ## Caveats ### IPv6 Docker's IPv6 support is still [like shit](https://github.com/moby/moby/issues/25407). As a workaround, you can use IPv6 NAT using either `docker-ipv6nat` or native method (experimental). First, edit kernel parameters. ```shell cat > /etc/sysctl.d/50-docker-ipv6.conf <