Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document issues with default docker userspace proxy and large numbers of ports #33

Open
kristiankielhofner opened this issue Apr 6, 2023 · 0 comments

Comments

@kristiankielhofner
Copy link
Contributor

kristiankielhofner commented Apr 6, 2023

For the WebRTC dynamic media port range the default docker daemon settings will launch $NUMPORTS of userspace docker UDP proxies - which takes a long time and is a waste of resources. We should dramatically warn when they don't have /etc/docker/daemon.json:

{
    "userland-proxy": false,
    "iptables": true,
    "runtimes": {
        "nvidia": {
            "args": [],
            "path": "nvidia-container-runtime"
        }
    }
}

We may be able to get this via the Docker API but needs more research.

We should also update the default port range to ~10 ports or something so even if they miss the warning, don't know how to do it, or don't need more concurrent clients even default userspace UDP proxies aren't a big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant