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
Copy file name to clipboardExpand all lines: docs/images/docker-krita.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,8 @@ By default, this container has no authentication. The optional `CUSTOM_USER` and
62
62
63
63
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.
64
64
65
+
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.
66
+
65
67
### Options in all Selkies-based GUI containers
66
68
67
69
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.
@@ -171,8 +173,6 @@ services:
171
173
krita:
172
174
image: lscr.io/linuxserver/krita:latest
173
175
container_name: krita
174
-
security_opt:
175
-
- seccomp:unconfined #optional
176
176
environment:
177
177
- PUID=1000
178
178
- PGID=1000
@@ -182,6 +182,7 @@ services:
182
182
ports:
183
183
- 3000:3000
184
184
- 3001:3001
185
+
shm_size: "1gb"
185
186
restart: unless-stopped
186
187
```
187
188
@@ -190,13 +191,13 @@ services:
190
191
```bash
191
192
docker run -d \
192
193
--name=krita \
193
-
--security-opt seccomp=unconfined `#optional` \
194
194
-e PUID=1000 \
195
195
-e PGID=1000 \
196
196
-e TZ=Etc/UTC \
197
197
-p 3000:3000 \
198
198
-p 3001:3001 \
199
199
-v /path/to/config:/config \
200
+
--shm-size="1gb" \
200
201
--restart unless-stopped \
201
202
lscr.io/linuxserver/krita:latest
202
203
```
@@ -230,7 +231,7 @@ Containers are configured using parameters passed at runtime (such as those abov
230
231
231
232
| Parameter | Function |
232
233
| :-----: | --- |
233
-
|`--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. |
234
+
|`--shm-size=`|Recommended for all desktop images. |
234
235
235
236
## Environment variables from files (Docker secrets)
236
237
@@ -461,13 +462,14 @@ To help with development, we generate this dependency graph.
0 commit comments