Skip to content

Experimental Docker image for the Janus WebRTC server

License

Notifications You must be signed in to change notification settings

tiny-pilot/janus-docker

Repository files navigation

janus-docker

Docker Pulls License

Overview

This is a Docker image for the Janus WebRTC server.

It builds Janus specifically for use with uStreamer on a Raspberry Pi OS system, so it's probably not useful for general purpose Janus work.

Requirements

  • This must run on a Raspberry Pi device.

Install Docker

curl -fsSL https://get.docker.com | sudo sh && \
  sudo usermod -aG docker $(whoami)

Log out and log in again for the docker permissions to take effect.

Building

# Tag the docker image with the current date.
TAG="$(date '+%Y-%m-%d')"
# Build the docker image.
pushd $(mktemp -d) && \
  git clone https://github.com/tiny-pilot/janus-docker.git . && \
  docker build -t "tinypilotkvm/janus:${TAG}" .

Alternatively, you can make use of the pre-built Docker image by running the following command:

docker pull tinypilotkvm/janus:2022-03-07

Running

docker run \
  --privileged \
  --network host \
  --volume /dev/shm:/dev/shm \
  --name janus \
  "tinypilotkvm/janus:${TAG}"

Uploading

If you are happy with the build, you can upload it to Docker Hub:

docker push "tinypilotkvm/janus:${TAG}"

About

Experimental Docker image for the Janus WebRTC server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •