Prepare host OS - Others
General OS requirements
- The host instance needs access to the internet and a working DNS
- The host OS needs to expose the cgroups v1. New OSs often expose only cgroups v2.
- You can check currently exposed cgroup versions by:
mount | grep '^cgroup' | awk '{print $1}' | uniq
cgroup
means v1 is exposed,cgroup2
means v2 is exposed (can be both)- Kernel can be forced to expose also v1 cgroups by adding kernel parameter
systemd.unified_cgroup_hierarchy=0
- You can check currently exposed cgroup versions by:
- Docker-CE version 20.0 or later
- nvidia-container-toolkit version 1.7.0 or later
- Nvidia driver version 535 or later
- docker-compose command version 2.5 or later
- The host must have these firewall ports/protocols allowed
- SSH (TCP port 22) - for SSH
- HTTP (TCP port 80) - needed for access to web UI and HLS output
- HTTPS (TCP port 443) - needed for secure access to web UI and HLS output
- MPEG-TS over RTP/UDP/SRT (UDP ports) - add custom ports for your MPEG-TS streams
- NDI (TCP&UDP) - needed for NDI to work, the easiest way is to open port range 5353-7999 for both TCP & UDP [NDI docs]
- RTMP input (TCP port 1935) - needed for RTMP server to listen on this port
- IGMP - for multicast
- mDNS disabled - for NDI discovery working in the Docker, typically done by disabling/removing the avahi-daemon
- UDP kernel buffers max size for write and read set to 256MB
Updated 10 months ago
What’s Next