Skip to content

Commit 2ce3de5

Browse files
Bot Updating Documentation
1 parent 9782e2c commit 2ce3de5

1 file changed

Lines changed: 4 additions & 38 deletions

File tree

‎docs/images/docker-baseimage-selkies.md‎

Lines changed: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The purpose of these images is to provide a full featured web native Linux deskt
1313

1414
Full documentation for the Selkies platform lives at [docs.linuxserver.io/selkies](https://docs.linuxserver.io/selkies/).
1515

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.
1717

1818
# Quick start
1919

@@ -64,7 +64,7 @@ All base images are built for x86_64 and aarch64 platforms.
6464

6565
# Building images
6666

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 labwc or 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:
6868

6969
```
7070
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
@@ -74,45 +74,11 @@ COPY /root /
7474

7575
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.
7676

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 chain and 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).
7878

7979
# Docker in Docker (DinD)
8080

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:
86-
87-
```
88-
git clone https://github.com/selkies-project/selkies.git
89-
cd selkies
90-
docker run --rm -it \
91-
--shm-size=1gb \
92-
-e DEV_MODE=selkies-dashboard \
93-
-e PUID=1000 \
94-
-e PGID=1000 \
95-
-v $(pwd):/config/src \
96-
-p 3001:3001 ghcr.io/linuxserver/webtop:ubuntu-kde bash
97-
```
98-
99-
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.
100-
101-
To run a pixelflux rapid development environment:
102-
103-
```
104-
git clone https://github.com/linuxserver/pixelflux.git
105-
cd pixelflux
106-
docker run --rm -it \
107-
--shm-size=1gb \
108-
-e DEV_MODE=pixelflux \
109-
-e PUID=1000 \
110-
-e PGID=1000 \
111-
-v $(pwd):/config/src \
112-
-p 3001:3001 ghcr.io/linuxserver/webtop:ubuntu-kde bash
113-
```
114-
115-
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.
11682

11783
The following line is only in this repo for loop testing:
11884
- { date: "01.01.50:", desc: "I am the release message for this internal repo." }

0 commit comments

Comments
 (0)