Kasm Workspaces streams desktops, browsers, and applications to your web browser, each in its own container. This stack runs the Community Edition from the all-in-one image that Kasm publishes.
This stack runs Kasm Workspaces with a Tailscale sidecar, as described in the standard setup. The image does not contain Tailscale, so the sidecar is what puts Kasm on your Tailnet.
| Item | Value |
|---|---|
| Web interface | https://kasm-workspaces.<tailnet>.ts.net |
| Service port | 4443 (HTTPS with a self-signed certificate) |
| Install wizard | https://<Tailscale IP>:3000 (HTTPS with a self-signed certificate) |
| Image | kasmweb/workspaces:1.19.0 |
| Data | ./kasm-workspaces-data/opt/ |
- Reserve disk space. Kasm runs its own Docker, and everything it downloads goes to
./kasm-workspaces-data/opt/. A test install with one workspace image (Alpine desktop) used about 13 GB. - Reach the install wizard on port
3000of the device's Tailscale IP address. Your Tailnet policy must allow that port. Find the address withdocker exec tailscale-kasm-workspaces tailscale ip -4. - Optional: put a Docker Hub username and password or access token in
.env, so that Kasm is not limited by the anonymous pull rate when it downloads its images.
- Privileged container. Kasm runs its own Docker daemon inside the container (Docker-in-Docker) to start the services and the workspaces, so the
applicationservice hasprivileged: true. - Port
4443, not443. Tailscale Serve listens on port443of the Tailscale IP address, and Kasm cannot also publish443in the shared network namespace: the install fails withfailed to bind host port 0.0.0.0:443/tcp: address already in use.KASM_PORTis4443, and Serve forwards to it. The install wizard passesKASM_PORTto the Kasm installer and upgrader, so a new value takes effect only with a new install or an upgrade. - Serve forwards to HTTPS. Kasm serves its web interface on
4443with a self-signed certificate. Tailscale Serve forwards to it withhttps+insecure. - Extra ports. Port
4443(Kasm directly, with the self-signed certificate) and port3000(install wizard) are reachable on the Tailscale IP address of the device, when your Tailnet policy allows it. Uncomment theportslines to publish them on your local network. - Health check. The check calls the Kasm API on port
4443, which does not listen until you finish the install wizard. The container isstartingfor 10 minutes, andunhealthyafter that until the install is complete. - No
/configvolume. Kasm keeps all of its data under/opt, which is./kasm-workspaces-data/opt/.
- Open
https://<Tailscale IP>:3000and accept the self-signed certificate warning. - Accept the license, then set the passwords of
admin@kasm.localanduser@kasm.local. A password has at least 8 characters, with an uppercase letter, a lowercase letter, a number, and one of!#$%^&*@. - Pick the workspace images to download, such as Firefox or an Alpine desktop, and start the install. Kasm downloads its own images first, so this takes several minutes.
- When the wizard says the install is complete, open
https://kasm-workspaces.<tailnet>.ts.netand sign in. Start a workspace to check that it streams.
The wizard stays available on port 3000 after the install, and it has no sign-in. When you no longer need it, use "Stop Install Wizard" on its dashboard. It disables the wizard until you remove ./kasm-workspaces-data/opt/NO_WIZARD and restart the container, which an upgrade needs.
The "Web URL" link on the wizard dashboard points to port 4443. Use the Tailscale Serve address instead, which has a valid certificate.
- The install fails with
address already in use. Something else uses the Kasm port in the shared network namespace, for example whenKASM_PORTis443. Use a different port incompose.yaml(KASM_PORTand the Serve configuration), stop the stack, delete./kasm-workspaces-data/opt/, and run the install wizard again. - The wizard says that Docker is still loading. Refresh the page after a minute.
This stack moved from services/kasm to services/kasm-workspaces, and the default SERVICE changed from kasm to kasm-workspaces. To keep your device, its address, and your data, keep SERVICE=kasm in your .env. Renamed stacks describes how to move a stack that you run in the clone.