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