Skip to content

chore: Dockerfile: run proxy as non-root user

WofWca requested to merge WofWca/snowflake:docker-nonroot into main

I believe this might have a potential to affect existing setups, e.g. if they use a privileged port for --metrics-port or --ephemeral-ports-range. Please verify it's all good prior to merging, and take this MR as a suggestion.

But it should work fine with our currently recommended docker-compose.yml: https://gitlab.torproject.org/tpo/anti-censorship/docker-snowflake-proxy/-/blob/main/docker-compose.yml.

I have tested it on my machine and on a VPS. I got "unrestricted" NAT, as expected, and it worked alright.

Related: #40328

Edited by WofWca

Merge request reports

Loading