You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://blog.linuxserver.io"all the things you can do with our containers including How-To guides, opinions and much more!")
@@ -97,7 +96,7 @@ This container is capable of delivering a true lossless image at a high framerat
97
96
98
97
## Usage
99
98
100
-
Here are some example snippets to help you get started creating a container.
99
+
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
101
100
102
101
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
103
102
@@ -136,12 +135,11 @@ docker run -d \
136
135
-v /path/to/config:/config \
137
136
--restart unless-stopped \
138
137
lscr.io/linuxserver/sqlitebrowser:latest
139
-
140
138
```
141
139
142
140
## Parameters
143
141
144
-
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.
142
+
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.
145
143
146
144
| Parameter | Function |
147
145
| :----: | --- |
@@ -160,10 +158,10 @@ You can set any environment variable from a file by using a special prepend `FIL
160
158
As an example:
161
159
162
160
```bash
163
-
-e FILE__PASSWORD=/run/secrets/mysecretpassword
161
+
-e FILE__MYVAR=/run/secrets/mysecretvariable
164
162
```
165
163
166
-
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
164
+
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
167
165
168
166
## Umask for running applications
169
167
@@ -172,15 +170,20 @@ Keep in mind umask is not chmod it subtracts from permissions based on it's valu
172
170
173
171
## User / Group Identifiers
174
172
175
-
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`.
173
+
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`.
176
174
177
175
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
178
176
179
-
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
177
+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
* 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)
221
-
* You can also remove the old dangling images: `docker image prune`
282
+
* You can also remove the old dangling images:
283
+
284
+
```bash
285
+
docker image prune
286
+
```
222
287
223
288
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
224
289
225
290
* Pull the latest image at its tag and replace it with the same env variables in one run:
226
291
227
-
```bash
228
-
docker run --rm \
229
-
-v /var/run/docker.sock:/var/run/docker.sock \
230
-
containrrr/watchtower \
231
-
--run-once sqlitebrowser
232
-
```
292
+
```bash
293
+
docker run --rm \
294
+
-v /var/run/docker.sock:/var/run/docker.sock \
295
+
containrrr/watchtower \
296
+
--run-once sqlitebrowser
297
+
```
233
298
234
299
* You can also remove the old dangling images: `docker image prune`
235
300
236
-
**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).
301
+
**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).
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
305
+
**tip**: We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
0 commit comments