Skip to content

Commit f1fc291

Browse files
committed
syntax and readme updates
1 parent 2cf8e72 commit f1fc291

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
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:ubuntunoble
24

35
# set version label
@@ -86,6 +88,6 @@ RUN \
8688
COPY /root /
8789

8890
# ports and volumes
89-
EXPOSE 3000 3001
91+
EXPOSE 3001
9092

9193
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.
@@ -223,8 +224,6 @@ services:
223224
container_name: mullvad-browser
224225
cap_add:
225226
- NET_ADMIN
226-
security_opt:
227-
- seccomp:unconfined #optional
228227
environment:
229228
- PUID=1000
230229
- PGID=1000
@@ -245,7 +244,6 @@ services:
245244
docker run -d \
246245
--name=mullvad-browser \
247246
--cap-add=NET_ADMIN \
248-
--security-opt seccomp=unconfined `#optional` \
249247
-e PUID=1000 \
250248
-e PGID=1000 \
251249
-e TZ=Etc/UTC \
@@ -272,7 +270,6 @@ Containers are configured using parameters passed at runtime (such as those abov
272270
| `-e LOCAL_NET=192.168.0.0/16` | If using a VPN, set this to your local LAN IP range using CIDR notation. Without it you will be unable to access the web interface. If you have multiple ranges or a complex LAN setup you will need to manage this yourself in the wg0.conf, see the App Setup section for details. |
273271
| `-v /config` | Users home directory in the container, stores local files and settings |
274272
| `--shm-size=` | This is needed for any modern website to function like youtube. |
275-
| `--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. |
276273
| `--cap-add=NET_ADMIN` | Neccessary for Wireguard to create its VPN interface. |
277274

278275
### Portainer notice

readme-vars.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ cap_add_param_vars:
2929
opt_param_usage_include_env: true
3030
opt_param_env_vars:
3131
- {env_var: "LOCAL_NET", env_value: "192.168.0.0/16", desc: "If using a VPN, set this to your local LAN IP range using CIDR notation. Without it you will be unable to access the web interface. If you have multiple ranges or a complex LAN setup you will need to manage this yourself in the wg0.conf, see the App Setup section for details."}
32-
opt_security_opt_param: true
33-
opt_security_opt_param_vars:
34-
- {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."}
3532
# Selkies blurb settings
3633
selkies_blurb: true
3734
show_nvidia: true
@@ -40,7 +37,6 @@ app_setup_block_enabled: true
4037
app_setup_block: |
4138
The application can be accessed at:
4239
43-
* http://yourhost:3000/
4440
* https://yourhost:3001/
4541
# init diagram
4642
init_diagram: |

0 commit comments

Comments
 (0)