From 5e7140e4dab5259c0201dd107cb47c696bcc087a Mon Sep 17 00:00:00 2001 From: Donald Webster Date: Tue, 7 Mar 2017 13:12:19 -0800 Subject: [PATCH] Updated Docker (markdown) --- Docker.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Docker.md b/Docker.md index fb965c5..8899cc0 100644 --- a/Docker.md +++ b/Docker.md @@ -12,7 +12,7 @@ Docker containers are intended to be static, they shouldn't self update internal * Nightly: [hotio/radarr](https://hub.docker.com/r/hotio/radarr/) # Using systemd -Using your favorite editor, create `/etc/systemd/system/docker-radarr.service` with the following systemd unit file. Be sure to replace `TIMEZONE` and `LOCALPATH` with the correct values. +Using your favorite editor, create `/etc/systemd/system/docker-radarr.service` with the following systemd unit file. Be sure to replace `timezone` and `path to data` with the correct values. Note that the `ExecStart` is basically the same as command on the docker page for the image you choose, so adjust appropriately. This example uses `linuxserver/radarr`, but `hotio/radarr` is equally as valid. ```systemd [Unit] @@ -25,14 +25,13 @@ Restart=on-failure RestartSec=30 ExecStart=/usr/bin/docker run --rm \ - --name radarr \ - --network host \ - -e PUID=1000 \ - -e PGID=1000 \ - -e TZ= \ - -v //config:/config \ - -v //downloads:/downloads \ - -v //movies:/movies \ + --name=radarr \ + -v :/config \ + -v :/downloads \ + -v :/movies \ + -e PGID= -e PUID= \ + -e TZ= \ + -p 7878:7878 \ linuxserver/radarr ExecStop=/usr/bin/docker stop radarr