-
Notifications
You must be signed in to change notification settings - Fork 639
Building and Running Docker Container for Ant Media Server
burak-58 edited this page Oct 10, 2018
·
12 revisions
- First of all we create a text file with name of Dockerfile as follows:
FROM ubuntu:16.04
ARG AntMediaServer
RUN apt-get update
RUN apt-get install -y libx11-dev
RUN apt-get install -y wget
ADD ./${AntMediaServer} /home
RUN cd home \
&& pwd \
&& wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh \
&& chmod 755 install_ant-media-server.sh
RUN cd home \
&& pwd \
&& ./install_ant-media-server.sh ${AntMediaServer}
ENTRYPOINT service antmedia restart && bash
-
Download or save
<Ant Media Server installation zip>
file in the same directory with Dockerfile. Then run the docker build command.docker build --network=host -t <container_name> --build-arg AntMediaServer=<Ant Media Server installation zip> .
-
Now we have a docker container with Ant Media Server. Lets run it.
docker run --privileged=true -it <container_name>
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams