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: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,11 +189,13 @@ It is possible to install extra packages during container start using [universal
189
189
- INSTALL_PACKAGES=libfuse2|git|gdb
190
190
```
191
191
192
-
193
192
## Usage
194
193
195
194
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
196
195
196
+
>[!NOTE]
197
+
>Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
198
+
197
199
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
198
200
199
201
```yaml
@@ -211,7 +213,7 @@ services:
211
213
- PGID=1000
212
214
- TZ=Etc/UTC
213
215
volumes:
214
-
- /path/to/config:/config
216
+
- /path/to/github-desktop/config:/config
215
217
ports:
216
218
- 3000:3000
217
219
- 3001:3001
@@ -231,7 +233,7 @@ docker run -d \
231
233
-e TZ=Etc/UTC \
232
234
-p 3000:3000 \
233
235
-p 3001:3001 \
234
-
-v /path/to/config:/config \
236
+
-v /path/to/github-desktop/config:/config \
235
237
--shm-size="1gb" \
236
238
--restart unless-stopped \
237
239
lscr.io/linuxserver/github-desktop:latest
@@ -243,14 +245,15 @@ Containers are configured using parameters passed at runtime (such as those abov
243
245
244
246
| Parameter | Function |
245
247
| :----: | --- |
246
-
|`-p 3000`| Github Desktop gui. |
247
-
|`-p 3001`| HTTPS Github Desktop gui. |
248
+
|`-p 3000:3000`| Github Desktop gui. |
249
+
|`-p 3001:3001`| HTTPS Github Desktop gui. |
248
250
|`-e PUID=1000`| for UserID - see below for explanation |
249
251
|`-e PGID=1000`| for GroupID - see below for explanation |
250
252
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
251
253
|`-v /config`| Users home directory in the container, stores local files and settings |
252
254
|`--shm-size=`| This is needed for electron applications to function properly. |
253
255
|`--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. Github Desktop runs in no-sandbox mode without it. |
256
+
|`--cap-add=IPC_LOCK`| Required for keyring functionality. |
0 commit comments