-
-
Couldn't load subscription status.
- Fork 304
Installation: WSL2 Windows
WSL2 (Windows Subsystem For Linux) installation is experimental and not recommended.
- Install and enable WSL2.
- Install Scrypted using the standard Linux Installation instructions. Alternatively, install with the standard Docker Linux instructions (see below for more details on setting up Docker).
- Enable bridged networking for WSL2.
Docker can be installed either with Docker Desktop, or docker-ce within your WSL2 distribution. Alternatively, you can use podman in WSL2, though this has not yet been tested.
The following instructions are for setting up docker-ce only. These steps assume you are using Ubuntu.
- Open up WSL2, either using
bash.exeorwsl.exe. - Configure the upstream
docker-cerepository:
source /etc/os-release
curl -fsSL https://download.docker.com/linux/${ID}/gpg | sudo apt-key add -
echo "deb [arch=amd64] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update- Install
docker-ce:
sudo apt install docker-ce docker-ce-cli containerd.ioOptional: Install docker-compose:
sudo apt install docker-compose- Add your user account to the
dockergroup:
sudo usermod -aG docker $USER- Start Docker service:
sudo service docker startOptional: Add a docker-start.bat file to your Windows startup folder (press "WindowsKey+R", then run "shell:startup") with the following contents:
wsl.exe -u root -e bash -c "service docker start"
This will ensure that Docker service is started every time your Windows machine reboots.
Scrypted Docs have moved. Please visit https://docs.scrypted.app.