Skip to content

Commit 231d2e4

Browse files
Bot Updating Templated Files
1 parent 7ff1300 commit 231d2e4

File tree

1 file changed

+101
-35
lines changed

1 file changed

+101
-35
lines changed

README.md

Lines changed: 101 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<!-- DO NOT EDIT THIS FILE MANUALLY -->
2-
<!-- Please read the https://github.com/linuxserver/docker-radarr/blob/master/.github/CONTRIBUTING.md -->
3-
1+
<!-- DO NOT EDIT THIS FILE MANUALLY -->
2+
<!-- Please read https://github.com/linuxserver/docker-radarr/blob/master/.github/CONTRIBUTING.md -->
43
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
54

65
[![Blog](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Blog)](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
@@ -67,6 +66,7 @@ This image provides various versions that are available via tags. Please read th
6766
| latest || Stable Radarr releases |
6867
| develop || Radarr releases from their develop branch |
6968
| nightly || Radarr releases from their nightly branch |
69+
7070
## Application Setup
7171

7272
Access the webui at `<your-ip>:7878`, for more information check out [Radarr](https://github.com/Radarr/Radarr).
@@ -81,7 +81,7 @@ The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/d
8181

8282
## Usage
8383

84-
Here are some example snippets to help you get started creating a container.
84+
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
8585

8686
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
8787

@@ -119,12 +119,11 @@ docker run -d \
119119
-v /path/to/downloadclient-downloads:/downloads `#optional` \
120120
--restart unless-stopped \
121121
lscr.io/linuxserver/radarr:latest
122-
123122
```
124123

125124
## Parameters
126125

127-
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
126+
Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
128127

129128
| Parameter | Function |
130129
| :----: | --- |
@@ -143,10 +142,10 @@ You can set any environment variable from a file by using a special prepend `FIL
143142
As an example:
144143

145144
```bash
146-
-e FILE__PASSWORD=/run/secrets/mysecretpassword
145+
-e FILE__MYVAR=/run/secrets/mysecretvariable
147146
```
148147

149-
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
148+
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
150149

151150
## Umask for running applications
152151

@@ -155,15 +154,20 @@ Keep in mind umask is not chmod it subtracts from permissions based on it's valu
155154

156155
## User / Group Identifiers
157156

158-
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
157+
When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
159158

160159
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
161160

162-
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
161+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
163162

164163
```bash
165-
$ id username
166-
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
164+
id your_user
165+
```
166+
167+
Example output:
168+
169+
```text
170+
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
167171
```
168172

169173
## Docker Mods
@@ -174,12 +178,29 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
174178

175179
## Support Info
176180

177-
* Shell access whilst the container is running: `docker exec -it radarr /bin/bash`
178-
* To monitor the logs of the container in realtime: `docker logs -f radarr`
179-
* container version number
180-
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' radarr`
181-
* image version number
182-
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/radarr:latest`
181+
* Shell access whilst the container is running:
182+
183+
```bash
184+
docker exec -it radarr /bin/bash
185+
```
186+
187+
* To monitor the logs of the container in realtime:
188+
189+
```bash
190+
docker logs -f radarr
191+
```
192+
193+
* Container version number:
194+
195+
```bash
196+
docker inspect -f '{{ index .Config.Labels "build_version" }}' radarr
197+
```
198+
199+
* Image version number:
200+
201+
```bash
202+
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/radarr:latest
203+
```
183204

184205
## Updating Info
185206

@@ -189,38 +210,83 @@ Below are the instructions for updating containers:
189210

190211
### Via Docker Compose
191212

192-
* Update all images: `docker-compose pull`
193-
* or update a single image: `docker-compose pull radarr`
194-
* Let compose update all containers as necessary: `docker-compose up -d`
195-
* or update a single container: `docker-compose up -d radarr`
196-
* You can also remove the old dangling images: `docker image prune`
213+
* Update images:
214+
* All images:
215+
216+
```bash
217+
docker-compose pull
218+
```
219+
220+
* Single image:
221+
222+
```bash
223+
docker-compose pull radarr
224+
```
225+
226+
* Update containers:
227+
* All containers:
228+
229+
```bash
230+
docker-compose up -d
231+
```
232+
233+
* Single container:
234+
235+
```bash
236+
docker-compose up -d radarr
237+
```
238+
239+
* You can also remove the old dangling images:
240+
241+
```bash
242+
docker image prune
243+
```
197244

198245
### Via Docker Run
199246

200-
* Update the image: `docker pull lscr.io/linuxserver/radarr:latest`
201-
* Stop the running container: `docker stop radarr`
202-
* Delete the container: `docker rm radarr`
247+
* Update the image:
248+
249+
```bash
250+
docker pull lscr.io/linuxserver/radarr:latest
251+
```
252+
253+
* Stop the running container:
254+
255+
```bash
256+
docker stop radarr
257+
```
258+
259+
* Delete the container:
260+
261+
```bash
262+
docker rm radarr
263+
```
264+
203265
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
204-
* You can also remove the old dangling images: `docker image prune`
266+
* You can also remove the old dangling images:
267+
268+
```bash
269+
docker image prune
270+
```
205271

206272
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
207273

208274
* Pull the latest image at its tag and replace it with the same env variables in one run:
209275

210-
```bash
211-
docker run --rm \
212-
-v /var/run/docker.sock:/var/run/docker.sock \
213-
containrrr/watchtower \
214-
--run-once radarr
215-
```
276+
```bash
277+
docker run --rm \
278+
-v /var/run/docker.sock:/var/run/docker.sock \
279+
containrrr/watchtower \
280+
--run-once radarr
281+
```
216282

217283
* You can also remove the old dangling images: `docker image prune`
218284

219-
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
285+
**warning**: We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
220286

221287
### Image Update Notifications - Diun (Docker Image Update Notifier)
222288

223-
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
289+
**tip**: We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
224290

225291
## Building locally
226292

0 commit comments

Comments
 (0)