Skip to content

Commit 4321448

Browse files
committed
syntax and readme updates
1 parent fa307a6 commit 4321448

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
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:arch
24

35
# set version label
@@ -62,6 +64,6 @@ RUN \
6264
COPY /root /
6365

6466
# ports and volumes
65-
EXPOSE 3000
67+
EXPOSE 3001
6668

6769
VOLUME /config

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ The architectures supported by this image are:
5858

5959
The application can be accessed at:
6060

61-
* http://yourhost:3000/
6261
* https://yourhost:3001/
6362

6463
### Strict reverse proxies
@@ -79,6 +78,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
7978

8079
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.
8180

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+
8283
### Options in all Selkies-based GUI containers
8384

8485
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.
@@ -221,8 +222,6 @@ services:
221222
wps-office:
222223
image: lscr.io/linuxserver/wps-office:latest
223224
container_name: wps-office
224-
security_opt:
225-
- seccomp:unconfined #optional
226225
environment:
227226
- PUID=1000
228227
- PGID=1000
@@ -241,7 +240,6 @@ services:
241240
```bash
242241
docker run -d \
243242
--name=wps-office \
244-
--security-opt seccomp=unconfined `#optional` \
245243
-e PUID=1000 \
246244
-e PGID=1000 \
247245
-e TZ=Etc/UTC \
@@ -266,7 +264,6 @@ Containers are configured using parameters passed at runtime (such as those abov
266264
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
267265
| `-v /config` | Users home directory in the container, stores program settings and documents |
268266
| `--shm-size=` | This is needed for electron applications to function properly. |
269-
| `--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. |
270267

271268
## Environment variables from files (Docker secrets)
272269

readme-vars.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ available_architectures:
1414
# container parameters
1515
common_param_env_vars_enabled: true
1616
param_container_name: "{{ project_name }}"
17-
param_usage_include_env: true
18-
param_env_vars:
19-
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
2017
param_usage_include_vols: true
2118
param_volumes:
2219
- {vol_path: "/config", vol_host_path: "/path/to/config", desc: "Users home directory in the container, stores program settings and documents"}
@@ -26,9 +23,6 @@ param_ports:
2623
- {external_port: "3001", internal_port: "3001", port_desc: "WPS Office desktop gui HTTPS."}
2724
custom_params:
2825
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "This is needed for electron applications to function properly."}
29-
opt_security_opt_param: true
30-
opt_security_opt_param_vars:
31-
- {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."}
3226
# Selkies blurb settings
3327
selkies_blurb: true
3428
show_nvidia: true
@@ -37,7 +31,6 @@ app_setup_block_enabled: true
3731
app_setup_block: |
3832
The application can be accessed at:
3933
40-
* http://yourhost:3000/
4134
* https://yourhost:3001/
4235
# init diagram
4336
init_diagram: |

0 commit comments

Comments
 (0)