Skip to content

Commit 11f3bdf

Browse files
committed
syntax and readme updates
1 parent 78bd3ca commit 11f3bdf

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
24

35
# set version label

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
7878

7979
The web interface includes a terminal with passwordless `sudo` access. Any user with access to the GUI can gain root control within the container, install arbitrary software, and probe your local network.
8080

81+
While not generally recommended, certain legacy environments specifically those with older hardware or outdated Linux distributions may require the deactivation of the standard seccomp profile to get containerized desktop software to run. This can be achieved by utilizing the `--security-opt seccomp=unconfined` parameter. It is critical to use this option only when absolutely necessary as it disables a key security layer of Docker, elevating the potential for container escape vulnerabilities.
82+
8183
### Options in all Selkies-based GUI containers
8284

8385
This container is based on [Docker Baseimage Selkies](https://github.com/linuxserver/docker-baseimage-selkies), which provides the following environment variables and run configurations to customize its functionality.
@@ -220,8 +222,6 @@ services:
220222
joplin:
221223
image: lscr.io/linuxserver/joplin:latest
222224
container_name: joplin
223-
security_opt:
224-
- seccomp:unconfined #optional
225225
environment:
226226
- PUID=1000
227227
- PGID=1000
@@ -240,7 +240,6 @@ services:
240240
```bash
241241
docker run -d \
242242
--name=joplin \
243-
--security-opt seccomp=unconfined `#optional` \
244243
-e PUID=1000 \
245244
-e PGID=1000 \
246245
-e TZ=Etc/UTC \
@@ -265,7 +264,6 @@ Containers are configured using parameters passed at runtime (such as those abov
265264
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
266265
| `-v /config` | Users home directory in the container, stores program settings and files. |
267266
| `--shm-size=` | This is needed for electron applications to function properly. |
268-
| `--security-opt seccomp=unconfined` | For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker. |
269267

270268
## Environment variables from files (Docker secrets)
271269

readme-vars.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ development_versions: false
1616
# container parameters
1717
common_param_env_vars_enabled: true
1818
param_container_name: "{{ project_name }}"
19-
param_usage_include_env: true
20-
param_env_vars:
21-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
2219
param_usage_include_vols: true
2320
param_volumes:
2421
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Users home directory in the container, stores program settings and files."}
@@ -28,9 +25,6 @@ param_ports:
2825
- {external_port: "3001", internal_port: "3001", port_desc: "Joplin desktop gui HTTPS."}
2926
custom_params:
3027
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "This is needed for electron applications to function properly."}
31-
opt_security_opt_param: true
32-
opt_security_opt_param_vars:
33-
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker."}
3428
# Selkies blurb settings
3529
selkies_blurb: true
3630
show_nvidia: true

0 commit comments

Comments
 (0)