1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-01-03 05:44:50 +00:00

Updated Docker container on Ubuntu 16.04 LTS (markdown)

hotio 2017-01-27 21:26:30 +01:00
parent 65858b9507
commit e5095e90f7

@ -4,7 +4,8 @@ Let's start by installing docker from the Docker repository. Execute the followi
```bash
sudo apt -y install linux-image-extra-virtual
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update && sudo apt -y install docker-engine
```
@ -20,14 +21,25 @@ See [this link](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) fo
```systemd
[Unit]
Description=Radarr container
Description=Radarr docker container
Requires=docker.service
After=docker.service
[Service]
Restart=always
RestartSec=30
ExecStart=/usr/bin/docker run --rm --name radarr --network=host -e PUID=1000 -e PGID=1000 -e TZ=<YOURTIMEZONE> -v /<LOCALPATH>/radarr/config:/config -v /<LOCALPATH>/radarr/downloads:/downloads -v /<LOCALPATH>/movies:/movies linuxserver/radarr
ExecStart=/usr/bin/docker run --rm \
--name radarr \
--network host \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=<YOURTIMEZONE> \
-v /<LOCALPATH>/config:/config \
-v /<LOCALPATH>/downloads:/downloads \
-v /<LOCALPATH>/movies:/movies \
linuxserver/radarr
ExecStop=/usr/bin/docker stop radarr
[Install]