Skip to content

Commit cb1acc2

Browse files
committed
syntax and readme updates
1 parent 45c085b commit cb1acc2

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
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
@@ -58,5 +60,5 @@ RUN \
5860
COPY /root /
5961

6062
# ports and volumes
61-
EXPOSE 3000
63+
EXPOSE 3001
6264
VOLUME /config

README.md

Lines changed: 5 additions & 0 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.
@@ -231,6 +233,7 @@ services:
231233
ports:
232234
- 3000:3000
233235
- 3001:3001
236+
shm_size: "1gb"
234237
restart: unless-stopped
235238
```
236239
@@ -246,6 +249,7 @@ docker run -d \
246249
-p 3000:3000 \
247250
-p 3001:3001 \
248251
-v /path/to/config:/config \
252+
--shm-size="1gb" \
249253
--restart unless-stopped \
250254
lscr.io/linuxserver/mysql-workbench:latest
251255
```
@@ -262,6 +266,7 @@ Containers are configured using parameters passed at runtime (such as those abov
262266
| `-e PGID=1000` | for GroupID - see below for explanation |
263267
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
264268
| `-v /config` | Users home directory in the container, stores program settings. |
269+
| `--shm-size=` | Recommended for all desktop images. |
265270
| `--cap-add=IPC_LOCK` | Required for keyring functionality. |
266271

267272
### Portainer notice

readme-vars.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ param_ports:
2323
cap_add_param: true
2424
cap_add_param_vars:
2525
- {cap_add_var: "IPC_LOCK", desc: "Required for keyring functionality."}
26+
custom_params:
27+
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "Recommended for all desktop images."}
2628
# Selkies blurb settings
2729
selkies_blurb: true
2830
show_nvidia: true

0 commit comments

Comments
 (0)