Skip to content

Linux - Docker

Linux + Docker installations should refer to the System Requirements for host OS recommendations. Docker Desktop on Windows/Mac is not supported.

This script below will download and configure the the docker-compose.yml and install Scrypted as a service.

Use the Copy button in the snippet below to copy the entire script, and then paste the contents into Terminal to install Scrypted.

sh
curl -s https://raw.githubusercontent.com/koush/scrypted/main/install/docker/install-scrypted-docker-compose.sh > ~/install-scrypted-docker-compose.sh 
sudo SERVICE_USER=$USER bash ~/install-scrypted-docker-compose.sh
rm ~/install-scrypted-docker-compose.sh

There will be a prompt to install Docker and set up external storage for Scrypted NVR. External storage is completely optional and can be set up later.

docker-compose.yml

The docker-compose.yml that contains the Scrypted configuration can be found at ~/.scrypted/docker-compose.yml. Modification is typically not necessary. Alternate docker images are available:

ImageDescription
ghcr.io/koush/scryptedThe default image.
ghcr.io/koush/scrypted:nvidiaImage that includes full NVIDIA CUDA support for hardware accelerated transcoding and detection. The host must have CUDA, cuDNN, and NVIDIA container runtime installed. Then modify the docker-compose.yml with the necessary changes for NVIDIA.