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
{{ message }}
Repository navigation
Commit 2ce3de5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/images/docker-baseimage-selkies.md
+4-38Lines changed: 4 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The purpose of these images is to provide a full featured web native Linux deskt
13
13
14
14
Full documentation for the Selkies platform lives at [docs.linuxserver.io/selkies](https://docs.linuxserver.io/selkies/).
15
15
16
-
These images bundle [Selkies](https://github.com/selkies-project/selkies)(the streaming server and web client), [pixelflux](https://github.com/linuxserver/pixelflux/) (video capture, encoding and the Wayland compositor), [pcmflux](https://github.com/linuxserver/pcmflux) (Opus audio), [NGINX](https://www.nginx.com/), [PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio/), [Docker](https://www.docker.com/)and [labwc](https://labwc.github.io/). Each piece is described in the [Components](https://docs.linuxserver.io/selkies/components/) section of the docs.
16
+
These images are built on the [Selkies](https://github.com/selkies-project/selkies)release bundle, one self contained install that carries the streaming server with its web client compiled in, the Selkies window manager and desktop shell, pixelflux (video capture, encoding and the Wayland compositor), pcmflux (Opus audio), Xvfb, Xwayland, [PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio/) and CUPS. Selkies serves the web client and API itself, there is no web server in front of it. [Docker](https://www.docker.com/)is fetched on demand, see Docker in Docker below. Each piece is described in the [Components](https://docs.linuxserver.io/selkies/components/) section of the docs.
17
17
18
18
# Quick start
19
19
@@ -64,7 +64,7 @@ All base images are built for x86_64 and aarch64 platforms.
64
64
65
65
# Building images
66
66
67
-
Included in these base images is [labwc](https://labwc.github.io/) (or [Openbox](http://openbox.org/) in X11 fallback mode) and the init logic needed to launch a single application. The bare minimum needed to create an application container is a Dockerfile:
67
+
Included in these base images is the Selkies window manager, which places, frames and focuses windows on both the Wayland and X11 backends (no labwcor Openbox is installed), and the init logic needed to launch a single application. The bare minimum needed to create an application container is a Dockerfile:
68
68
69
69
```
70
70
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
@@ -74,45 +74,11 @@ COPY /root /
74
74
75
75
and a `root/defaults/autostart_wayland` file containing the command to run, in this case `firefox-esr`. Build it, run it with the quick start command above and Firefox is streaming in the browser.
76
76
77
-
Right click menus, full desktop environments via `startwm.sh`, hardening and kiosk builds, testing and multi arch CI are all covered in [Building Custom Images](https://docs.linuxserver.io/selkies/developer-guide/building-images/), with [Baseimage Internals](https://docs.linuxserver.io/selkies/developer-guide/baseimage-internals/) describing the init chain, services and nginx layout, and [Customizing Containers](https://docs.linuxserver.io/selkies/developer-guide/customization/) covering the runtime hooks available without rebuilding. Examples of full desktop images can be found in our [Webtop repository](https://github.com/linuxserver/docker-webtop).
77
+
The window manager carries a built in right click menu listing the installed applications, an image's openbox format `menu.xml` adds its entries above the built in ones. Full desktop environments via `startwm.sh`, hardening and kiosk builds, testing and multi arch CI are all covered in [Building Custom Images](https://docs.linuxserver.io/selkies/developer-guide/building-images/), with [Baseimage Internals](https://docs.linuxserver.io/selkies/developer-guide/baseimage-internals/) describing the init chainand services, and [Customizing Containers](https://docs.linuxserver.io/selkies/developer-guide/customization/) covering the runtime hooks available without rebuilding. Examples of full desktop images can be found in our [Webtop repository](https://github.com/linuxserver/docker-webtop).
78
78
79
79
# Docker in Docker (DinD)
80
80
81
-
These base images include an installation of Docker. Mount `-v /var/run/docker.sock:/var/run/docker.sock` to manage the host Docker installation from inside the session, or pass `--privileged` to start an isolated in container Docker daemon (set `-e START_DOCKER=false` to keep privilege without the daemon). Details and the performance notes are in the [Docker in Docker](https://docs.linuxserver.io/selkies/user-guide/installation/#docker-in-docker) section of the installation docs.
82
-
83
-
# Development
84
-
85
-
This container and any downstream images can also be used as a rapid development environment for the Selkies Project. Simply clone the upstream repo and run the container as shown:
The application will be restarted on code changes to the src directory you mounted in and provide feedback for debugging. The web side runs through Vite with hot module reload and is served at the root path of the container. `DEV_MODE` accepts the name of any dashboard directory under `addons/` in the Selkies repo, `core` to watch and rebuild `selkies-web-core` (the streaming engine itself), or `pixelflux` as shown below.
The container builds the mounted source, all Rust build dependencies are present in the image, and runs the session against your working copy so a compositor or encoder change is one container restart away from being on screen. More on the workflow and a map of the repositories involved is in [Development Environment](https://docs.linuxserver.io/selkies/developer-guide/development/).
81
+
These base images support Docker without shipping it in the image. Mount `-v /var/run/docker.sock:/var/run/docker.sock` to manage the host Docker installation from inside the session, or pass `--privileged` to start an isolated in container Docker daemon, the static Docker release along with the buildx and compose plugins is downloaded on first start (pin a version with `-e DOCKER_VERSION=`, set `-e START_DOCKER=false` to keep privilege without the daemon). Details and the performance notes are in the [Docker in Docker](https://docs.linuxserver.io/selkies/user-guide/installation/#docker-in-docker) section of the installation docs.
116
82
117
83
The following line is only in this repo for loop testing:
118
84
- { date: "01.01.50:", desc: "I am the release message for this internal repo." }
0 commit comments