docker-ripe-atlas/README.md

32 lines
957 B
Markdown
Raw Normal View History

2020-04-17 03:55:57 -07:00
# RIPE Atlas Docker Image
This is the [RIPE Atlas software probe](https://atlas.ripe.net/docs/software-probe/) packaged as a Docker image.
2020-04-17 04:03:55 -07:00
[![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)
2020-04-17 03:55:57 -07:00
## Running
2020-04-17 04:31:28 -07:00
First we start the container:
2020-04-17 03:55:57 -07:00
```shell
2020-04-17 04:31:28 -07:00
docker run -d \
2020-04-17 03:55:57 -07:00
--restart=unless-stopped \
--memory=256m \
--cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN \
--mount type=tmpfs,destination=/var/atlasdata \
--mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \
--mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \
2020-04-17 04:31:28 -07:00
--name ripe-atlas \
2020-04-17 03:55:57 -07:00
jamesits/ripe-atlas:latest
```
2020-04-17 04:31:28 -07:00
Then we fetch the generated public key:
```
cat /var/atlas-probe/etc/probe_key.pub
```
[Register](https://atlas.ripe.net/apply/swprobe/) the probe with your public key.