Docker + Red5 items
What is Docker?
latest(default): Red5 2.0.29 Release + JDK 21
For example, you can run a Red5 container with the following command:
docker run -it --rm mondain/red5
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull mondain/red5(alternatively, you can build an image from Dockerfile:
docker build -t="mondain/red5" github.com/Red5/docker)
- Starts red5 and exposes default ports for http and rtmp/e
docker run -it -p 5080:5080 -p 1935:1935 --rm mondain/red5- Starts red5 and exposes default ports for http, rtmp/e, and websocket
docker run -it -p 5080:5080 -p 1935:1935 -p 8081:8081 --rm mondain/red5 # build from this repo (root Dockerfile)
docker build -t mondain/red5:2.0.29 .
# sign in to Docker Hub
docker login
# tag for your Docker Hub namespace
docker tag mondain/red5:2.0.29 <youruser>/red5:2.0.29
docker tag mondain/red5:2.0.29 <youruser>/red5:latest
# push
docker push <youruser>/red5:2.0.29
docker push <youruser>/red5:latest