Kasm Workspaces: Configuring Custom Desktop Images, Registries, and Use Cases (Part 2)
Master Kasm Workspaces by building custom Docker-based desktop images, configuring secure registries, and setting up persistent profiles.
Mastering Kasm Workspaces
Kasm Workspaces runs containerized desktop applications streamed directly to the browser. Understanding how to manage custom workspace images and settings enables customized virtual lab deployment.
Building Custom Docker Images
To build a custom Kasm image (e.g., adding specialized networking tools): 1. Create a Dockerfile: dockerfile FROM kasmweb/ubuntu-noble-desktop:1.15.0 USER root RUN apt-get update && apt-get install -y curl nmap git dnsutils USER 1000 2. Build the image: bash docker build -t custom-kasm-desktop:latest .
Adding the Image to Kasm Dashboard
- Log in to the Kasm Admin Dashboard.
- Navigate to Images and click Add Image.
- Select Docker as the provider, specify
custom-kasm-desktop:latestas the Docker Image name, and configure CPU/RAM limits.
Session Settings and Profile Persistence
- Under Images > Edit, set Volume Mappings to bind host storage to container paths like
/home/kasm-user/Downloads. - Enable Persistent Profiles to save desktop configurations, browser history, and files between sessions.