Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


A Docker container running the coturn STUN/TURN server (

Unlike bprodoehl/turnserver (,
this image is not based on phusion/baseimage, but runs the turnserver directly
in the container as PID 1. All logging is send to stdout.

Like bprodoehl/turnserver, this container accepts the EXTERNAL_IP environment
variable to tell coturn its external IP address. If EXTERNAL_IP is not
supplied, the external IP will be fetched using icanhazip
( using curl.

For debugging purposes, docker exec
should be used since this container does not run an SSH daemon.

Due to the need for the TURN server to open arbitrary ports to the outside
world and Docker's lack of range-based port mapping (, additional configuration is needed to allow clients to talk to this service. This can be accomplished in a number of ways, including the use of iptables in combination with something like docker-gen or using Docker's host networking (--net host) feature. The use of host networking is not recommended due to the many security issues it raises.


To run this container:

$ docker run -d synctree/coturn:latest
Docker Pull Command
Source Repository