Skip to content

Commit f3bdd64

Browse files
Bot Updating Documentation
1 parent 37624af commit f3bdd64

File tree

1 file changed

+363
-0
lines changed

1 file changed

+363
-0
lines changed

docs/images/docker-dolphin.md

Lines changed: 363 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,363 @@
1+
---
2+
title: dolphin
3+
description: "[Dolphin Emulator](https://dolphin-emu.org/) lets you play GameCube and Wii games with various graphical enhancements and other features are available to improve your game experience."
4+
---
5+
<!-- DO NOT EDIT THIS FILE MANUALLY -->
6+
<!-- Please read https://github.com/linuxserver/docker-dolphin/blob/master/.github/CONTRIBUTING.md -->
7+
# [linuxserver/dolphin](https://github.com/linuxserver/docker-dolphin)
8+
9+
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fdolphin?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh)
10+
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-dolphin.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-dolphin)
11+
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-dolphin.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-dolphin/releases)
12+
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-dolphin/packages)
13+
[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab)](https://gitlab.com/linuxserver.io/docker-dolphin/container_registry)
14+
[![Quay.io](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Quay.io)](https://quay.io/repository/linuxserver.io/dolphin)
15+
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/dolphin.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/dolphin)
16+
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/dolphin.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/dolphin)
17+
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-dolphin%2Fjob%2Fmaster%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-dolphin/job/master/)
18+
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fdolphin%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/dolphin/latest/index.html)
19+
20+
[Dolphin Emulator](https://dolphin-emu.org/) lets you play GameCube and Wii games with various graphical enhancements and other features are available to improve your game experience.
21+
22+
[![dolphin](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/dolphin-logo.png)](https://dolphin-emu.org/)
23+
24+
## Supported Architectures
25+
26+
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
27+
28+
Simply pulling `lscr.io/linuxserver/dolphin:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
29+
30+
The architectures supported by this image are:
31+
32+
| Architecture | Available | Tag |
33+
| :----: | :----: | ---- |
34+
| x86-64 || amd64-\<version tag\> |
35+
| arm64 || arm64v8-\<version tag\> |
36+
| armhf || |
37+
38+
## Application Setup
39+
40+
The application can be accessed at:
41+
42+
* https://yourhost:3001/
43+
44+
45+
### Security
46+
47+
>[!WARNING]
48+
>Do not put this on the Internet if you do not know what you are doing.
49+
50+
By default this container has no authentication and the optional environment variables `CUSTOM_USER` and `PASSWORD` to enable basic http auth via the embedded NGINX server should only be used to locally secure the container from unwanted access on a local network. If exposing this to the Internet we recommend putting it behind a reverse proxy, such as [SWAG](https://github.com/linuxserver/docker-swag), and ensuring a secure authentication solution is in place. From the web interface a terminal can be launched and it is configured for passwordless sudo, so anyone with access to it can install and run whatever they want along with probing your local network.
51+
52+
### Strict reverse proxies
53+
54+
This image uses a self-signed certificate by default. This naturally means the scheme is `https`.
55+
If you are using a reverse proxy which validates certificates, you need to [disable this check for the container](https://docs.linuxserver.io/faq#strict-proxy).
56+
57+
## Usage
58+
59+
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
60+
61+
!!! info
62+
63+
Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
64+
65+
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
66+
67+
```yaml
68+
---
69+
services:
70+
dolphin:
71+
image: lscr.io/linuxserver/dolphin:latest
72+
container_name: dolphin
73+
security_opt:
74+
- seccomp:unconfined #optional
75+
environment:
76+
- PUID=1000
77+
- PGID=1000
78+
- TZ=Etc/UTC
79+
volumes:
80+
- /path/to/config:/config
81+
ports:
82+
- 3000:3000
83+
- 3001:3001
84+
restart: unless-stopped
85+
```
86+
87+
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
88+
89+
```bash
90+
docker run -d \
91+
--name=dolphin \
92+
--security-opt seccomp=unconfined `#optional` \
93+
-e PUID=1000 \
94+
-e PGID=1000 \
95+
-e TZ=Etc/UTC \
96+
-p 3000:3000 \
97+
-p 3001:3001 \
98+
-v /path/to/config:/config \
99+
--restart unless-stopped \
100+
lscr.io/linuxserver/dolphin:latest
101+
```
102+
103+
## Parameters
104+
105+
Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
106+
107+
### Ports (`-p`)
108+
109+
| Parameter | Function |
110+
| :----: | --- |
111+
| `3000:3000` | Dolphin desktop gui HTTP must be proxied. |
112+
| `3001:3001` | Dolphin desktop gui HTTPS. |
113+
114+
### Environment Variables (`-e`)
115+
116+
| Env | Function |
117+
| :----: | --- |
118+
| `PUID=1000` | for UserID - see below for explanation |
119+
| `PGID=1000` | for GroupID - see below for explanation |
120+
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
121+
122+
### Volume Mappings (`-v`)
123+
124+
| Volume | Function |
125+
| :----: | --- |
126+
| `/config` | Users home directory in the container, stores local files and settings |
127+
128+
#### Miscellaneous Options
129+
130+
| Parameter | Function |
131+
| :-----: | --- |
132+
| `--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. |
133+
134+
## Environment variables from files (Docker secrets)
135+
136+
You can set any environment variable from a file by using a special prepend `FILE__`.
137+
138+
As an example:
139+
140+
```bash
141+
-e FILE__MYVAR=/run/secrets/mysecretvariable
142+
```
143+
144+
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
145+
146+
## Umask for running applications
147+
148+
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
149+
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
150+
151+
## User / Group Identifiers
152+
153+
When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
154+
155+
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
156+
157+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
158+
159+
```bash
160+
id your_user
161+
```
162+
163+
Example output:
164+
165+
```text
166+
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
167+
```
168+
169+
## Docker Mods
170+
171+
[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=dolphin&query=%24.mods%5B%27dolphin%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=dolphin "view available mods for this container.") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
172+
173+
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
174+
175+
## Support Info
176+
177+
* Shell access whilst the container is running:
178+
179+
```bash
180+
docker exec -it dolphin /bin/bash
181+
```
182+
183+
* To monitor the logs of the container in realtime:
184+
185+
```bash
186+
docker logs -f dolphin
187+
```
188+
189+
* Container version number:
190+
191+
```bash
192+
docker inspect -f '{{ index .Config.Labels "build_version" }}' dolphin
193+
```
194+
195+
* Image version number:
196+
197+
```bash
198+
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/dolphin:latest
199+
```
200+
201+
## Updating Info
202+
203+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
204+
205+
Below are the instructions for updating containers:
206+
207+
### Via Docker Compose
208+
209+
* Update images:
210+
* All images:
211+
212+
```bash
213+
docker-compose pull
214+
```
215+
216+
* Single image:
217+
218+
```bash
219+
docker-compose pull dolphin
220+
```
221+
222+
* Update containers:
223+
* All containers:
224+
225+
```bash
226+
docker-compose up -d
227+
```
228+
229+
* Single container:
230+
231+
```bash
232+
docker-compose up -d dolphin
233+
```
234+
235+
* You can also remove the old dangling images:
236+
237+
```bash
238+
docker image prune
239+
```
240+
241+
### Via Docker Run
242+
243+
* Update the image:
244+
245+
```bash
246+
docker pull lscr.io/linuxserver/dolphin:latest
247+
```
248+
249+
* Stop the running container:
250+
251+
```bash
252+
docker stop dolphin
253+
```
254+
255+
* Delete the container:
256+
257+
```bash
258+
docker rm dolphin
259+
```
260+
261+
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
262+
* You can also remove the old dangling images:
263+
264+
```bash
265+
docker image prune
266+
```
267+
268+
### Image Update Notifications - Diun (Docker Image Update Notifier)
269+
270+
!!! tip
271+
272+
We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
273+
274+
## Building locally
275+
276+
If you want to make local modifications to these images for development purposes or just to customize the logic:
277+
278+
```bash
279+
git clone https://github.com/linuxserver/docker-dolphin.git
280+
cd docker-dolphin
281+
docker build \
282+
--no-cache \
283+
--pull \
284+
-t lscr.io/linuxserver/dolphin:latest .
285+
```
286+
287+
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
288+
289+
```bash
290+
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
291+
```
292+
293+
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
294+
295+
To help with development, we generate this dependency graph.
296+
297+
??? info "Init dependency graph"
298+
299+
```d2
300+
"dolphin:latest": {
301+
docker-mods
302+
base {
303+
fix-attr +\nlegacy cont-init
304+
}
305+
docker-mods -> base
306+
legacy-services
307+
custom services
308+
init-services -> legacy-services
309+
init-services -> custom services
310+
custom services -> legacy-services
311+
legacy-services -> ci-service-check
312+
init-migrations -> init-adduser
313+
init-os-end -> init-config
314+
init-selkies-end -> init-config
315+
init-config -> init-config-end
316+
init-crontab-config -> init-config-end
317+
init-config -> init-crontab-config
318+
init-mods-end -> init-custom-files
319+
init-adduser -> init-device-perms
320+
base -> init-envfile
321+
base -> init-migrations
322+
init-config-end -> init-mods
323+
init-mods-package-install -> init-mods-end
324+
init-mods -> init-mods-package-install
325+
init-selkies -> init-nginx
326+
init-adduser -> init-os-end
327+
init-device-perms -> init-os-end
328+
init-envfile -> init-os-end
329+
init-os-end -> init-selkies
330+
init-nginx -> init-selkies-config
331+
init-video -> init-selkies-end
332+
init-custom-files -> init-services
333+
init-selkies-config -> init-video
334+
init-services -> svc-cron
335+
svc-cron -> legacy-services
336+
init-services -> svc-de
337+
svc-nginx -> svc-de
338+
svc-xorg -> svc-de
339+
svc-de -> legacy-services
340+
init-services -> svc-docker
341+
svc-de -> svc-docker
342+
svc-docker -> legacy-services
343+
init-services -> svc-nginx
344+
svc-nginx -> legacy-services
345+
init-services -> svc-pulseaudio
346+
svc-pulseaudio -> legacy-services
347+
init-services -> svc-selkies
348+
svc-nginx -> svc-selkies
349+
svc-pulseaudio -> svc-selkies
350+
svc-xorg -> svc-selkies
351+
svc-selkies -> legacy-services
352+
init-services -> svc-xorg
353+
svc-xorg -> legacy-services
354+
}
355+
Base Images: {
356+
"baseimage-selkies:debianbookworm" <- "baseimage-debian:bookworm"
357+
}
358+
"dolphin:latest" <- Base Images
359+
```
360+
361+
## Versions
362+
363+
* **18.06.25:** - Initial Version.

0 commit comments

Comments
 (0)