Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 620 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 620 Bytes

Simple Streaming Server as a docker container

Docker commands

To compile image named streaming

docker build -t streaming .

To run image created

docker run --name streaming -d -p 1935:1935 streaming /bin/sh /opt/run.sh

To stop container

docker stop streaming

To remove container

docker rm streaming

To remove image

docker rmi streaming

Docker compose commands

To build image and run

docker compose up -d

To stop and remove the container (but doesn´t remove image)

docker compose down