Sign inSign up

vistalba/udpxy

By vistalba

•Updated 5 days ago

udpxy Docker Image

Image
3

50K+

vistalba/udpxy repository overview

⁠udpxy Docker Image

A lightweight Docker image that builds and runs udpxy, a UDP‑to‑HTTP proxy, on top of Alpine and Debian bookworm‑slim.


⁠Overview

This repository provides a multi‑stage Dockerfile that:

  1. Compiles udpxy from source (using the pcherenkov/udpxy repository).
  2. Packages the resulting binaries into a minimal alpine:latest and debian:bookworm-slim runtime image.

The resulting container can be used to forward multicast UDP streams (e.g., IPTV) over HTTP, making them accessible to clients that cannot handle UDP directly.


⁠Tags

TagDescription
latestImage based on alpine:latest
latest-debianImage based on debian:bookworm-slim

⁠Run the Container

udpxy is controlled entirely by command‑line options. Pass them through the UDPXY_OPTS environment variable.

docker run -d \
  --name udpxy \
  -p 4022:4022/tcp \   # default listening port (change if you use a different one)
  -e UDPXY_OPTS="-p 4022 -c 30 -T" \
  udpxy:latest

⁠Environment Variables

VariableRequiredDescription
UDPXY_OPTSYes (at least the listening port)Full list of command‑line arguments for udpxy. If omitted, the container will exit because no options are supplied.

⁠Common udpxy Options
OptionDescription
-venable verbose output [default = disabled]
-Senable client statistics [default = disabled]
-Tdo NOT run as a daemon [default = daemon if root]
-a(IPv4) address/interface to listen on [default = 0.0.0.0]
-pport to listen on
-m(IPv4) address/interface of (multicast) source [default = 0.0.0.0]
-cmax clients to serve [default = 3, max = 5000]
-llog output to file [default = stderr]
-Bbuffer size (65536, 32Kb, 1Mb) for inbound (multicast) data [default = 2048 bytes]
-Rmaximum messages to store in buffer (-1 = all) [default = 1]
-Hmaximum time (sec) to hold data in buffer (-1 = unlimited) [default = 1]
-nnice value increment [default = 0]
-Mperiodically renew multicast subscription (skip if 0 sec) [default = 0 sec]

All options can be combined, e.g.:

-e UDPXY_OPTS="-p 4022 -c 30 -T"

GitHub Repo: https://github.com/vistalba/udpxy⁠

Tag summary

Content type

Image

Digest

sha256:ef3f1d95e…

Size

3.7 MB

Last updated

5 days ago

docker pull vistalba/udpxy