HUB
Sign inSign up

aaimio/ooniprobe

By aaimio

•Updated 9 months ago

Docker wrapper for OONI Probe, a tool designed to measure internet censorship.

Image
Monitoring & observability
Web analytics
1

10K+

aaimio/ooniprobe repository overview

⁠OONI Probe for Docker

Docker wrapper for OONI Probe, a tool designed to measure internet censorship by testing whether websites and apps are accessible.

⁠Getting started

Running the Docker image will do the following:

  1. Launch the OONI Probe CLI and start tests in unattended mode⁠
  2. After tests complete, the container will sleep for 6 hours until the next run (if enabled through env⁠)
⁠Docker Compose
services:
  ooniprobe:
    image: aaimio/ooniprobe:latest
    container_name: ooniprobe
    volumes:
      - ./ooniprobe:/config
    environment:
      informed_consent: true
      upload_results: true
      websites_max_runtime: 0
      websites_enabled_category_codes: null
      sleep: true
    restart: unless-stopped
⁠Docker CLI
docker run \
  --name ooniprobe \
  -v ./ooniprobe:/config \
  -e informed_consent=true \
  -e upload_results=true \
  -e websites_max_runtime=0 \
  -e websites_enabled_category_codes=null \
  --restart unless-stopped \
  aaimio/ooniprobe:latest

⁠Environment variables

  • informed_consent: Boolean indicating whether you understand the risks of running a probe⁠
  • upload_results: Boolean indicating whether measurements should be uploaded to the OONI collectors
  • websites_max_runtime: Maximum time in seconds to run website tests for
  • websites_enabled_category_codes: Category codes from the Citizen Lab test-lists repo⁠, null or []
  • sleep: Boolean indicating whether the Docker container should sleep between test executions
    • If true, the container will sleep 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
  • args: Custom arguments appended to ooniprobe run, see OONI Probe CLI⁠

⁠Custom web connectivity tests

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

⁠License

Tag summary
Recent tags
Content type
Image
Digest
sha256:32ee8c423…
Size
27.4 MB
Last updated
9 months ago
docker pull aaimio/ooniprobe:latest