Sign in

kasm

1.19.0-ls7

Kasm Workspaces is a docker container streaming platform for delivering browser-based access to desktops, applications, and web services. Kasm uses devops-enabled Containerized Desktop Infrastructure (CDI) to create on-demand, disposable, docker containers that are accessible via web browser. Example use-cases include Remote Browser Isolation (RBI), Data Loss Prevention (DLP), Desktop as a Service (DaaS), Secure Remote Access Services (RAS), and Open Source Intelligence (OSINT) collections. The rendering of the graphical-based containers is powered by the open-source project KasmVNC.

docker pull ghcr.io/linuxserver-playground/kasm:latest

Quick start · configure#

Pick the optional settings and mods you want, set your paths, ports and values, then copy the result.

Image
Required
Specify the port you bind to the outside for Kasm Workspaces.
Docker and installation storage.
Kasm Installation wizard. (https)
Kasm Workspaces interface. (https)
  • privileged: true The image needs privileged mode.
Optional settings8

Tick what you need; it is added to every output with its value.

Mods

0 for kasm, 0 universal mods suggested for it, and 13 other universal mods. Ticked mods join one DOCKER_MODS value in the order you tick them.

---
services:
  kasm:
    image: ghcr.io/linuxserver-playground/kasm:latest
    container_name: kasm
    privileged: true
    environment:
      - KASM_PORT=443
    volumes:
      - /path/to/kasm/data:/opt
    ports:
      - 3000:3000
      - 443:443
    restart: unless-stopped

Required settings only. Tick optional settings and mods to add them.

  • Replace the /path/to folders with real folders on your host; they are created if missing.

Install on …

Adding a store to your platform

Version tags#

TagLatest buildBuiltTests
:latestStable releasesbranch master · stable1.19.0-ls7amd64 · arm64–

Architectures#

Pulling :latest picks the right one for your host automatically.

  • x86_64amd64-latest
  • arm64arm64v8-latest

Inside the latest image#

ghcr.io/linuxserver-playground/kasm:1.19.0-ls7

Explore this build
Base image
ghcr.io/linuxserver-playground/baseimage-ubuntu:noble
Upstream version
1.19.0
amd64 compressed
292 MB · 10 layers
arm64 compressed
282 MB · 10 layers
amd64 packages
1,294 · Ubuntu 24.04.5 LTS
arm64 packages
1,294 · Ubuntu 24.04.5 LTS
Tests
not run
Built
Reason
weekly package check

In the fleet#

Live branches, their latest release, upstream version and next scheduled check.

kasm on the fleet board

live branchesloading…

Branch → tagLast buildReleasedUpstreamDriftNext checkFlags
master → :latestsuccess
1.19.0
? unknown––

Application setup#

This container uses Docker in Docker and requires being run in privileged mode. This container also requires an initial setup that runs on port 3000.

Unlike other containers the web interface port (default 443) needs to be set for the env variable KASM_PORT and both the inside and outside port IE for 4443 KASM_PORT=4443 -p 4443:4443

Unraid users due to the DinD storage layer /opt/ should be mounted directly to a disk IE /mnt/disk1/appdata/path or optimally with a cache disk at /mnt/cache/appdata/path

Access the installation wizard at https://your ip:3000 and follow the instructions there. Once setup is complete access https://your ip:443 and login with the credentials you entered during setup. The default users are:

Currently Synology systems are not supported due to them blocking CPU scheduling in their Kernel.

Upgrading KASM

In order to upgrade Kasm, first make sure you are using the latest docker image, and then perform the in app update from the installation wizard. Docker image update and recreation of container alone won’t upgrade Kasm.

Following the upgrade, you will need to update any workspace image tags to match the new version.

GPU Support

During installation an option will be presented to force all Workspace containers to mount in and use a specific GPU. If using an NVIDIA GPU you will need to pass -e NVIDIA_VISIBLE_DEVICES=all or --gpus all and have the NVIDIA Container Toolkit installed on the host. Also if using NVIDIA, Kasm Workspaces has native NVIDIA support so you can optionally opt to simply use that instead of the manual override during installation.

When NVIDIA devices are passed to this container, a CDI specification describing them is generated inside the DinD layer on startup and the NVIDIA runtime is made the default one there. This is what allows the driver, and with it Vulkan and OpenGL, to reach the Workspace containers.

Gamepad support

In order to properly create virtual Gamepads you will need to mount from your host /dev/input and /run/udev/data. Please see HERE for instructions on enabling gamepad support.

Persistant profiles

In order to use persistant profiles in Workspaces you will need to mount in a folder to use from your host to /profiles. From there when configuring a workspace you can set the Persistant Profile Path to IE /profiles/ubuntu-focal/{username}/, more infomation can be found HERE.

Reverse proxy

A sample for SWAG can be found here. Post installation you will need to modify the “Proxy Port” setting under the default zone to 0 as outlined here to launch Workspaces sessions.

Strict reverse proxies

This image uses a self-signed certificate by default. This naturally means the scheme is https. If you are using a reverse proxy which validates certificates, you need to disable this check for the container.

Parameters#

Ports#
PortFunctionRequired
3000:3000Kasm Installation wizard. (https)required
443:443Kasm Workspaces interface. (https)required
Environment variables#
VariableFunctionRequired
KASM_PORT=443Specify the port you bind to the outside for Kasm Workspaces.required
DOCKER_HUB_USERNAME=USEROptionally specify a DockerHub Username to pull private images.optional
DOCKER_HUB_PASSWORD=PASSOptionally specify a DockerHub password to pull private images.optional
DOCKER_MTU=1500Optionally specify the mtu options passed to dockerd.optional
Volumes#
PathFunctionRequired
/optDocker and installation storage.required
/profilesOptionally specify a path for persistent profile storage.optional
/dev/inputOptional for gamepad support.optional
/run/udev/dataOptional for gamepad support.optional
Other settings#
SettingFunctionRequired
security_opt: apparmor:rootlesskitSome hosts require this on top of privileged for namespacing to work properly inside the DinD layer.optional
stop_grace_period: 90sIncrease container shutdown delay to give Kasm services time to stop cleanly.optional
privileged: trueNeeds privileged mode.required

Environment variables from files (Docker secrets)#

You can set any environment variable from a file by using a special prepend FILE__.

As an example:

-e FILE__MYVAR=/run/secrets/mysecretvariable

Will set the environment variable MYVAR based on the contents of the /run/secrets/mysecretvariable file.

Umask for running applications#

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. Keep in mind umask is not chmod it subtracts from permissions based on it’s value it does not add. Please read up here before asking for support.

Updating Info#

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 section above to see if it is recommended for the image.

Below are the instructions for updating containers:

Via Docker Compose

  • Update images:

    • All images:

      docker-compose pull
    • Single image:

      docker-compose pull kasm
  • Update containers:

    • All containers:

      docker-compose up -d
    • Single container:

      docker-compose up -d kasm
  • You can also remove the old dangling images:

    docker image prune

Via Docker Run

  • Update the image:

    docker pull ghcr.io/linuxserver-playground/kasm:latest
  • Stop the running container:

    docker stop kasm
  • Delete the container:

    docker rm kasm
  • 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)

  • You can also remove the old dangling images:

    docker image prune

Image Update Notifications - Diun (Docker Image Update Notifier)

Tip

We recommend Diun for update notifications. Other tools that automatically update containers unattended are not recommended or supported.

Building locally#

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/linuxserver-playground/docker-kasm.git
cd docker-kasm
docker build \
  --no-cache \
  --pull \
  -t ghcr.io/linuxserver-playground/kasm:latest .

The ARM variants can be built on x86_64 hardware and vice versa using ghcr.io/linuxserver/qemu-static

docker run --rm --privileged ghcr.io/linuxserver/qemu-static --reset

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Every push builds and tests the image with the shared workflow in linuxserver-playground/workflows; every build’s tests, screenshots and package changes are on the image’s builds on the website.

Builds#

The newest five builds per branch, each with its CI report; 2 older releases are on GitHub, listed below.

TagBuiltReasonChangeResultSize
1.19.0-ls7master · 51d8b3c5weekly package checkpackagessuccess292 MB amd64282 MB arm64
1.19.0-ls6master · 046e4fe5weekly package checkbasesuccess292 MB amd64282 MB arm64
1.19.0-ls5master · 9877ada0weekly package checkbasesuccess282 MB amd64272 MB arm64
1.19.0-ls4master · c1ae9fd0release check or requested rebuildbasesuccess280 MB amd64270 MB arm64
1.19.0-ls3master · fda7a326push to the branchmixedsuccess280 MB amd64270 MB arm64
Older releases2Release, run record and run on GitHub

Mods#

Add a mod with DOCKER_MODS=<image>; separate several with |.

All mods for kasm

No mod targets kasm specifically; the 13 universal mods work with every image.

Reverse proxy#

kasm listens on https://kasm:8443.

What you named the kasm container; SWAG resolves it on the shared network.

Uncomments the matching include lines; API locations stay open so client apps keep working.

  • Save as /config/nginx/proxy-confs/kasm.subdomain.conf in SWAG (drop the .sample) and restart SWAG.
  • Your DNS needs a record for kasm.yourdomain.com (a CNAME to the domain, or a wildcard), and SWAG's SUBDOMAINS must cover it.
  • The kasm container and SWAG must share a user-defined Docker network so the name resolves.
## Version 2026/11/16
# make sure that your kasm container is named kasm
# make sure that your dns has a cname set for kasm

server {
    listen 443 ssl;
#    listen 443 quic;
    listen [::]:443 ssl;
#    listen [::]:443 quic;

    server_name kasm.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    # enable for ldap auth (requires ldap-location.conf in the location block)
    #include /config/nginx/ldap-server.conf;

    # enable for Authelia (requires authelia-location.conf in the location block)
    #include /config/nginx/authelia-server.conf;

    # enable for Authentik (requires authentik-location.conf in the location block)
    #include /config/nginx/authentik-server.conf;

    # enable for Tinyauth (requires tinyauth-location.conf in the location block)
    #include /config/nginx/tinyauth-server.conf;

    location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable for ldap auth (requires ldap-server.conf in the server block)
        #include /config/nginx/ldap-location.conf;

        # enable for Authelia (requires authelia-server.conf in the server block)
        #include /config/nginx/authelia-location.conf;

        # enable for Authentik (requires authentik-server.conf in the server block)
        #include /config/nginx/authentik-location.conf;

        # enable for Tinyauth (requires tinyauth-server.conf in the server block)
        #include /config/nginx/tinyauth-location.conf;

        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app kasm;
        set $upstream_port 8443;
        set $upstream_proto https;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

    }
}

Default sample.

Source: linuxserver-playground.github.io/hub/api/v1/catalog/kasm/proxy.json

Changelog#

  1. Fix NVIDIA passthrough to Workspace containers by generating a CDI specification inside the DinD layer.

  2. Give kasm_manager a healthcheck start period so a cold start does not leave kasm_proxy created but never started.

  3. Update for 1.18.1 release. Use rolling service images. Bump docker to v29.

  4. Pin docker to v28 to avoid API deprecation issues.

  5. Update for 1.18.0 release.

  6. Deprecate develop branch.

  7. Rebase to Ubuntu Noble. Update for 1.17.0 release.

  8. Update base image for 1.16.1 release.

9 earlier entries
  1. Add base users in docker build logic to survive container upgrades.
  2. Update base image for 1.16.0 release and fix Nvidia support.
  3. Update base image for 1.15.0 release.
  4. Update base image for 1.14.0 release.
  5. Add mod layer for ingesting LSIO images for 1.13.0 release.
  6. Pin compose to 2.5.0 to be in sync with upstream requirements.
  7. Rebase to Jammy, add support for GPUs, add support for Gamepads.
  8. Migrate to s6v3.
  9. Initial Release.

Support#

Questions about running kasm? Start with the documentation and the community; open an issue for bugs.

  • Shell access whilst the container is running:

    docker exec -it kasm /bin/bash
  • To monitor the logs of the container in realtime:

    docker logs -f kasm
  • Container version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' kasm
  • Image version number:

    docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver-playground/kasm:latest

Community project

Improve kasm

This image is kept up by volunteers, and you can be one of them. You don't need to know how the pipeline works: point an AI agent at the harness and describe what you want. It reproduces the problem in your Docker, tests the change and drafts the pull request for you to check.

Ask your agent

  • Something is wrong with the kasm image: <what you saw>. Reproduce it, fix it and draft the PR.
  • Add <package> to the kasm image, test it and draft the PR.
  • Make a mod for kasm that <what you need>, and test it.

Contributing an image Every way to help Get the harness (opens in a new tab)

Related

Browse all

sealskin

0.5.2-ls15

Sealskin is a self-hosted browser isolation and remote application streaming platform. It runs desktop applications in isolated containers on a server you control and streams them to any browser or phone. Clients include a browser extension, mobile apps, and a web app served by the server itself. Each turns links, files, downloads, and text selections into something you open remotely instead of locally, so nothing from the web runs on the device in front of you.

0 GitHub starsalpinearm64

kali-linux

42353ed8-ls13

Kali-linux - is an Advanced Penetration Testing Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments. KALI LINUX ™ is a trademark of OffSec.

0 GitHub starsselkiesarm64

kimai

2.74.0-ls13

Kimai is a professional grade time-tracking application, free and open-source. It handles use-cases of freelancers as well as companies with dozens or hundreds of users. Kimai was build to track your project times and ships with many advanced features, including but not limited to: JSON API, invoicing, data exports, multi-timer and punch-in punch-out mode, tagging, multi-user - multi-timezones - multi-language (over 30 translations existing!), authentication via SAML/LDAP/Database, two-factor authentication (2FA) with TOTP, customizable role and team permissions, responsive design, user/customer/project specific rates, advanced search & filtering, money and time budgets, advanced reporting, support for plugins and so much more.

0 GitHub starsalpine-nginxarm64

lm-studio

2026-11-27-ls18

LM Studio can run local AI models like gpt-oss, Llama, Gemma, Qwen, and DeepSeek privately on your computer.

0 GitHub starsselkies