The Darwin Streaming Server project was last updated by Apple in about 2008, I still think it's a good server for media streaming but it refuses to run on Ubuntu above 12.x. This is the 64bit 6.0.3 version running on Precise.
You should expose the following ports :
- 1220:1220 (admin) - 554:554 (RTSP VIDEO) - 7070:7070 (RTSP VIDEO) - 8000:8000 (MP3 Streaming) - 8001:8001 (MP3 Streaming)
Start the container with
docker run -t -d -e "DSSUSER=admin" -e "DSSPASS=password" --restart=always -p 1220:1220 -p 554:554 -p 7070:7070 -p 8000:8000 -p 8001:8001 --name="dss" gaiterjones/darwin-streaming
and login to admin via http://server:1220 using the username and password defined in the run command.
To test rtsp video streaming load rtsp://container/sample_h264_300kbit.mp4 into a suitable media player, i.e. VLC.
If you run nginx as a reverse proxy front end to the container you can access audio streams over http/https with http://container/audio/playlistname where /audio/ in nginx points to your DSS server at port 8000 and playlist is the name of the media playlist created in DSS.
To preserve data map these directories to local volumes
./conf:/etc/streaming ./streaming:/var/streaming ./media:/usr/local/movies