专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏

linuxserver/kasm Docker 镜像 - 轩辕镜像

kasm
linuxserver/kasm
Kasm Workspaces 是一个容器流式传输平台,通过基于浏览器的方式提供对桌面、应用程序和 Web 服务的访问,采用容器化桌面基础设施 (CDI) 创建按需、一次性的 Docker 容器,适用于远程浏览器隔离、数据防泄漏、桌面即服务等场景。
107 收藏0 次下载activelinuxserver镜像
🚀专业版镜像服务,面向生产环境设计
版本下载
🚀专业版镜像服务,面向生产环境设计

![linuxserver.io]([***]

The LinuxServer.io team brings you another container release featuring:

  • regular and timely application updates
  • easy user mappings (PGID, PUID)
  • custom base image with s6 overlay
  • weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
  • regular security updates

Find us at:

  • Blog - all the things you can do with our containers including How-To guides, opinions and much more!
  • *** - realtime support / chat with the community and the team.
  • Discourse - post on our community forum.
  • GitHub - view the source for all of our repositories.
  • Open Collective - please consider helping us by either donating or contributing to our budget

linuxserver/kasm

![Scarf.io pulls]([] ![GitHub Stars]([] ![GitHub Release]([] ![GitHub Package Repository]([] ![GitLab Container Registry]([] ![Quay.io]([] ![Docker Pulls]([] ![Docker Stars]([] ![Jenkins Build]([] ![LSIO CI]([]

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.

![kasm]([***]

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/kasm:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

ArchitectureAvailableTag
x86-64✅amd64-<version tag>
arm64✅arm64v8-<version tag>

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.

Updating KASM

In order to update kasm, first make sure you are using the latest docker image, and then perform the in app update in the admin panel. Docker image update and recreation of container alone won't update kasm.

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 Runtime 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 he manual override during installation.

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.

Usage

To help you get started creating a container from this image you can either use docker-compose or the docker cli.

[!NOTE] Unless a parameter is flaged as 'optional', it is mandatory and a value must be provided.

docker-compose (recommended, click here for more info)
yaml
---
services:
  kasm:
    image: lscr.io/linuxserver/kasm:latest
    container_name: kasm
    privileged: true
    security_opt:
      - apparmor:rootlesskit #optional
    environment:
      - KASM_PORT=443
      - DOCKER_HUB_USERNAME=USER #optional
      - DOCKER_HUB_PASSWORD=PASS #optional
      - DOCKER_MTU=1500 #optional
    volumes:
      - /path/to/kasm/data:/opt
      - /path/to/kasm/profiles:/profiles #optional
      - /dev/input:/dev/input #optional
      - /run/udev/data:/run/udev/data #optional
    ports:
      - 3000:3000
      - 443:443
    restart: unless-stopped
docker cli (click here for more info)
bash
docker run -d \
  --name=kasm \
  --privileged \
  --security-opt apparmor=rootlesskit `#optional` \
  -e KASM_PORT=443 \
  -e DOCKER_HUB_USERNAME=USER `#optional` \
  -e DOCKER_HUB_PASSWORD=PASS `#optional` \
  -e DOCKER_MTU=1500 `#optional` \
  -p 3000:3000 \
  -p 443:443 \
  -v /path/to/kasm/data:/opt \
  -v /path/to/kasm/profiles:/profiles `#optional` \
  -v /dev/input:/dev/input `#optional` \
  -v /run/udev/data:/run/udev/data `#optional` \
  --restart unless-stopped \
  lscr.io/linuxserver/kasm:latest

Parameters

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.

ParameterFunction
-p 3000:3000Kasm Installation wizard. (https)
-p 443:443Kasm Workspaces interface. (https)
-e KASM_PORT=443Specify the port you bind to the outside for Kasm Workspaces.
-e DOCKER_HUB_USERNAME=USEROptionally specify a DockerHub Username to pull private images.
-e DOCKER_HUB_PASSWORD=PASSOptionally specify a DockerHub password to pull private images.
-e DOCKER_MTU=1500Optionally specify the mtu options passed to dockerd.
-v /optDocker and installation storage.
-v /profilesOptionally specify a path for persistent profile storage.
-v /dev/inputOptional for gamepad support.
-v /run/udev/dataOptional for gamepad support.
--security-opt apparmor=rootlesskitSome hosts require this on top of privileged for namespacing to work properly inside the DinD layer.

Environment variables from files (Docker secrets)

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

As an example:

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

Docker Mods

We publish various 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.

Support Info

  • Shell access whilst the container is running:

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

    bash
    docker logs -f kasm
    
  • Container version number:

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

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

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:

      bash
      docker-compose pull
      
    • Single image:

      bash
      docker-compose pull kasm
      
  • Update containers:

    • All containers:

      bash
      docker-compose up -d
      
    • Single container:

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

    bash
    docker image prune
    
Via Docker Run
  • Update the image:

    bash
    docker pull lscr.io/linuxserver/kasm:latest
    
  • Stop the running container:

    bash
    docker stop kasm
    
  • Delete the container:

    bash
    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:

    bash
    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:

bash
git clone [***]
cd docker-kasm
docker build \
  --no-cache \
  --pull \
  -t lscr.io/linuxserver/kasm:latest .

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

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

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

Versions

  • 13.11.25: - Pin docker to v28 to avoid API deprecation issues.
  • 22.10.25: - Update for 1.18.0 release.
  • 08.06.25: - Deprecate develop branch.
  • 03.06.25: - Rebase to Ubuntu Noble. Update for 1.17.0 release.
  • 09.11.24: - Update base image for 1.16.1 release.
  • 24.09.24: - Add base users in docker build logic to survive container upgrades.
  • 17.09.24: - Update base image for 1.16.0 release and fix Nvidia support.
  • 16.02.24: - Update base image for 1.15.0 release.
  • 22.08.23: - Update base image for 1.14.0 release.
  • 07.04.23: - Add mod layer for ingesting LSIO images for 1.13.0 release.
  • 28.03.23: - Pin compose to 2.5.0 to be in sync with upstream requirements.
  • 05.11.22: - Rebase to Jammy, add support for GPUs, add support for Gamepads.
  • 23.09.22: - Migrate to s6v3.
  • 02.07.22: - Initial Release.
查看更多 kasm 相关镜像 →
kasmweb/firefox logo
kasmweb/firefox
by Kasm Technologies
认证
适用于Kasm Workspaces的浏览器可访问版本的Mozilla Firefox,支持通过Web界面访问Firefox浏览器,可集成于Kasm Workspaces平台或独立部署。
8410M+ pulls
上次更新:5 天前
kasmweb/desktop logo
kasmweb/desktop
by Kasm Technologies
认证
Ubuntu桌面版是Kasm Workspaces平台提供的一款基于Ubuntu操作系统的容器化桌面环境,旨在为用户提供安全、高效的远程工作体验;它保留了Ubuntu原生桌面的直观操作与丰富功能,预装常用办公及开发工具,支持跨设备访问,并通过Kasm的隔离运行架构确保数据安全,同时具备灵活的资源管理能力,适用于开发、办公、学习等多种场景,助力用户轻松构建云端虚拟工作空间。
16110M+ pulls
上次更新:5 天前
kasmweb/remmina logo
kasmweb/remmina
by Kasm Technologies
认证
为Kasm Workspaces提供的Remmina远程桌面客户端镜像,支持RDP、VNC等多种协议,用于在容器化环境中便捷访问和管理远程计算机。
105M+ pulls
上次更新:5 天前
kasmweb/vlc logo
kasmweb/vlc
by Kasm Technologies
认证
Kasm Workspaces的浏览器可访问版VLC镜像,支持通过Web浏览器流式访问VLC媒体播放器,可独立部署或在Kasm Workspaces中使用,提供Web原生渲染和基础媒体播放功能。
165M+ pulls
上次更新:5 天前
kasmweb/insomnia logo
kasmweb/insomnia
by Kasm Technologies
认证
Kasm Workspaces的Insomnia镜像,提供浏览器可访问的Insomnia应用,支持通过Web方式使用API测试工具,可独立部署或集成到Kasm Workspaces平台,具备Web原生渲染能力。
51M+ pulls
上次更新:6 天前
kasmweb/chromium logo
kasmweb/chromium
by Kasm Technologies
认证
Kasm Workspaces的浏览器可访问版Chromium镜像,提供基于浏览器的桌面、应用和Web服务访问,通过开源KasmVNC实现Web原生渲染,支持独立部署和环境变量配置。
271M+ pulls
上次更新:5 天前

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

oldzhang的头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
linuxserver/kasm
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
提交工单
免费获取在线技术支持请 提交工单,官方QQ群:13763429 。
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
免费获取在线技术支持请提交工单,官方QQ群: 。
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.
轩辕镜像 官方专业版 Logo
轩辕镜像轩辕镜像官方专业版
首页个人中心搜索镜像
交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 13763429