Skip to content

[BUG] Kali in Kasm Workspace wont start #8

@zer0ish

Description

@zer0ish

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After adding the LinuxServer.io repo in Kasm, I installed the Kali Linux Workspace that is listed as: lscr.io/linuxserver/kali-linux:latest

It seems to install successfully but when I try to start it I get an error in top right corner. When I look at the Logging errors, it shows this as the error:

host: proxy
ingest_date: 20250410172547
application: kasm_agent
levelname: ERROR
process: __main__.handler
message
Exception creating Kasm: Traceback (most recent call last):
  File "docker/api/client.py", line 265, in _raise_for_status
  File "requests/models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.48/containers/076ea76d659bd6e00a5e093376c3cc3943d36b6e009fa7af7c940beb82f24516/exec

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "__init__.py", line 574, in post
  File "provision.py", line 1944, in provision
  File "docker/models/containers.py", line 205, in exec_run
  File "docker/utils/decorators.py", line 19, in wrapped
  File "docker/api/exec_api.py", line 79, in exec_create
  File "docker/api/client.py", line 271, in _result
  File "docker/api/client.py", line 267, in _raise_for_status
  File "docker/errors.py", line 39, in create_api_error_from_http_exception
docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.48/containers/076ea76d659bd6e00a5e093376c3cc3943d36b6e009fa7af7c940beb82f24516/exec: Conflict ("Container 076ea76d659bd6e00a5e093376c3cc3943d36b6e009fa7af7c940beb82f24516 is restarting, wait until the container is running")
Traceback (most recent call last):
  File "docker/api/client.py", line 265, in _raise_for_status
  File "requests/models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.48/containers/076ea76d659bd6e00a5e093376c3cc3943d36b6e009fa7af7c940beb82f24516/exec

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "__init__.py", line 574, in post
  File "provision.py", line 1944, in provision
  File "docker/models/containers.py", line 205, in exec_run
  File "docker/utils/decorators.py", line 19, in wrapped
  File "docker/api/exec_api.py", line 79, in exec_create
  File "docker/api/client.py", line 271, in _result
  File "docker/api/client.py", line 267, in _raise_for_status
  File "docker/errors.py", line 39, in create_api_error_from_http_exception
docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.48/containers/076ea76d659bd6e00a5e093376c3cc3943d36b6e009fa7af7c940beb82f24516/exec: Conflict ("Container 076ea76d659bd6e00a5e093376c3cc3943d36b6e009fa7af7c940beb82f24516 is restarting, wait until the container is running")

Expected Behavior

Launching into Kali desktop

Steps To Reproduce

  1. Setup Kasm Workspace
  2. Go to Workspaces > Registry > Registries
  3. Install LinuxServer.io
  4. Go to Available Workspaces tab
  5. Click on the Kali Linux from LinuxServer.io
  6. Click Install
  7. Once installed, go to Workspaces and try to launch
  8. Get error

Environment

- OS: Unraid 7.0.1
- How docker service was installed: Used the Unraid app catalogue and using the LinuxServer.io container.

CPU architecture

x86-64

Docker creation

Using Kasm Workspace from LinuxServer.io in unraid app catalogue. Then follow the steps to reproduce.

Container logs

Kasm log:
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[ls.io-init] done.
time="2025-04-10T13:40:06.875089872-04:00" level=error msg="Error setting up exec command in container a710d0a9177679f5406ff5313ff8a8ba2470a874d272fa38977f85596f392e27: Container a710d0a9177679f5406ff5313ff8a8ba2470a874d272fa38977f85596f392e27 is restarting, wait until the container is running"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions