Docker wrapper for ooniprobe
, a tool designed to measure internet censorship by testing whether websites and apps are accessible.
- Contribute spare bandwidth to help measure internet censorship
- Things you should know before running OONI Probe
- For more information visit the OONI website & OONI Probe CLI repo
Also see Docker wrapper for OONI's miniooni
Running the Docker image will do the following:
- Launch the OONI Probe CLI and start tests in
unattended
mode - After tests complete, the container will
sleep
for 6 hours until the next run (this is configurable)
services:
ooniprobe:
image: aaimio/ooniprobe:latest
container_name: ooniprobe
volumes:
- ./ooniprobe:/config
environment:
informed_consent: true
upload_results: true
sleep: true
restart: unless-stopped
docker run \
--name ooniprobe \
-v ./ooniprobe:/config \
-e informed_consent=true \
-e upload_results=true \
-e sleep=true \
--restart unless-stopped \
aaimio/ooniprobe:latest
informed_consent
: Boolean indicating whether you understand the risks of running a probeupload_results
: Boolean indicating whether measurements should be uploaded to the OONI collectorswebsites_max_runtime
: Maximum time in seconds to run website tests forwebsites_enabled_category_codes
: Category codes from the Citizen Lab test-lists repo,null
or[]
seconds_between_tests
: Number of seconds between test runs (default is 21600 seconds = 6 hours)sleep
: Boolean indicating whether the Docker container should sleep between test executions- If
true
, the container willsleep
after completing tests, ensuring that it doesn't exit - Alternatively, you could use a cron or other type of orchestration to periodically start the container
- If
args
: Custom arguments appended toooniprobe run
, see OONI Probe CLI
You can run web connectivity tests against custom URLs by creating a urls.txt
file in the volume, e.g.:
https://www.facebook.com
https://www.twitter.com
https://www.bbc.com
https://www.cnn.com
https://www.wikileaks.org
https://www.torproject.org
https://www.amnesty.org
https://www.hrw.org
- Note that creating this file will result in only web connectivity tests being run
- Also see https://ooni.org/support/ooni-probe-cli#ooniprobe-run-websites