mirror of
https://github.com/trycua/computer.git
synced 2026-01-05 21:09:58 -06:00
864 B
864 B
Kasm Cua Container
Containerized virtual desktop for Computer-Using Agents (CUA).
Usage
Building the container:
docker build -t kasm-cua .
Running the container:
docker run --rm -it --shm-size=512m -p 6901:6901 -p 8000:8000 -e VNC_PW=password kasm-cua
A VNC client will be available at localhost:6901 with the username kasm-user and password password.
The container will run a Computer Server instance in the background. You can access the Computer Server API at http://localhost:8000 or using the cua Computer SDK.
Creating a snapshot
You can create a snapshot of the container at any time by running:
docker commit <container_id> kasm-cua-snapshot
You can then run the snapshot by running:
docker run --rm -it --shm-size=512m -p 6901:6901 -p 8000:8000 -e VNC_PW=password kasm-cua-snapshot