Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

chore(qemu): rename "cua-windows" -> "cua-qemu-windows"

[email protected]0c77bf627f26
diff --git a/.github/workflows/docker-publish-cua-windows.yml b/.github/workflows/docker-publish-cua-qemu-windows.yml
similarity index 70%
rename from .github/workflows/docker-publish-cua-windows.yml
rename to .github/workflows/docker-publish-cua-qemu-windows.yml
index 808db22d14..7295c9e62a 100644
--- a/.github/workflows/docker-publish-cua-windows.yml
+++ b/.github/workflows/docker-publish-cua-qemu-windows.yml
@@ -5,25 +5,25 @@ on:
branches:
- main
tags:
- - "docker-cua-windows-v*.*.*"
+ - "docker-cua-qemu-windows-v*.*.*"
paths:
- "libs/qemu-docker/windows/**"
- - ".github/workflows/docker-publish-cua-windows.yml"
+ - ".github/workflows/docker-publish-cua-qemu-windows.yml"
- ".github/workflows/docker-reusable-publish.yml"
pull_request:
paths:
- "libs/qemu-docker/windows/**"
- - ".github/workflows/docker-publish-cua-windows.yml"
+ - ".github/workflows/docker-publish-cua-qemu-windows.yml"
- ".github/workflows/docker-reusable-publish.yml"
jobs:
publish:
uses: ./.github/workflows/docker-reusable-publish.yml
with:
- image_name: cua-windows
+ image_name: cua-qemu-windows
context_dir: libs/qemu-docker/windows
dockerfile_path: Dockerfile
- tag_prefix: docker-cua-windows-v
+ tag_prefix: docker-cua-qemu-windows-v
docker_hub_org: trycua
secrets:
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
diff --git a/docs/content/docs/get-started/quickstart.mdx b/docs/content/docs/get-started/quickstart.mdx
index 10de4fd518..06e0a6342f 100644
--- a/docs/content/docs/get-started/quickstart.mdx
+++ b/docs/content/docs/get-started/quickstart.mdx
@@ -132,7 +132,7 @@ You can run your Cua computer in the cloud (recommended for easiest setup), loca
**2. Pull the QEMU Windows image:**
```bash
- docker pull trycua/cua-windows:latest
+ docker pull trycua/cua-qemu-windows:latest
```
**3. Download Windows 11 Enterprise Evaluation ISO:**
@@ -154,7 +154,7 @@ You can run your Cua computer in the cloud (recommended for easiest setup), loca
-e RAM_SIZE=8G \
-e CPU_CORES=4 \
-e DISK_SIZE=64G \
- trycua/cua-windows:latest
+ trycua/cua-qemu-windows:latest
```
The container will install Windows 11 from the ISO and shut down when complete. Monitor progress at [http://localhost:8006](http://localhost:8006).
@@ -333,7 +333,7 @@ Connect to your Cua computer and perform basic interactions, such as taking scre
computer = Computer(
os_type="windows",
provider_type="docker",
- image="trycua/cua-windows:latest",
+ image="trycua/cua-qemu-windows:latest",
storage="~/cua-storage/windows",
run_opts={
"devices": ["/dev/kvm"], # Optional but recommended
diff --git a/libs/python/computer/computer/providers/docker/provider.py b/libs/python/computer/computer/providers/docker/provider.py
index 35544b0b05..ca24c0ee17 100644
--- a/libs/python/computer/computer/providers/docker/provider.py
+++ b/libs/python/computer/computer/providers/docker/provider.py
@@ -58,7 +58,7 @@ class DockerProvider(BaseVMProvider):
- "trycua/cua-ubuntu:latest" (Kasm-based)
- "trycua/cua-xfce:latest" (vanilla XFCE)
- "trycua/cua-qemu-linux:latest" (QEMU-based, only supports Ubuntu for now)
- - "trycua/cua-windows:latest" (QEMU-based, only supports Windows 11 Enterprise for now)
+ - "trycua/cua-qemu-windows:latest" (QEMU-based, only supports Windows 11 Enterprise for now)
verbose: Enable verbose logging
ephemeral: Use ephemeral (temporary) storage
vnc_port: Port for VNC interface (default: 6901)
diff --git a/libs/qemu-docker/windows/README.md b/libs/qemu-docker/windows/README.md
index 58f99ab45f..bc1cc0de5c 100644
--- a/libs/qemu-docker/windows/README.md
+++ b/libs/qemu-docker/windows/README.md
@@ -31,7 +31,7 @@ This ISO is used for automated Windows installation on first run.
### 2. Build the Image
```bash
-docker build -t trycua/cua-windows:dev .
+docker build -t trycua/cua-qemu-windows:dev .
```
### 3. First Run - Create Golden Image
@@ -46,7 +46,7 @@ mkdir -p ./storage
docker run -it --rm \
--device=/dev/kvm \
--platform linux/amd64 \
- --name cua-windows \
+ --name cua-qemu-windows \
--mount type=bind,source=$(pwd)/src/vm/image/setup.iso,target=/custom.iso \
--cap-add NET_ADMIN \
-v $(pwd)/storage:/storage \
@@ -55,7 +55,7 @@ docker run -it --rm \
-e RAM_SIZE=8G \
-e CPU_CORES=4 \
-e DISK_SIZE=20G \
- trycua/cua-windows:dev
+ trycua/cua-qemu-windows:dev
```
**What happens during first run:**
@@ -75,14 +75,14 @@ After the golden image is created, subsequent runs boot much faster (30 sec - 2
docker run -it --rm \
--device=/dev/kvm \
--platform linux/amd64 \
- --name cua-windows \
+ --name cua-qemu-windows \
--cap-add NET_ADMIN \
-v $(pwd)/storage:/storage \
-p 8006:8006 \
-p 5000:5000 \
-e RAM_SIZE=8G \
-e CPU_CORES=4 \
- trycua/cua-windows:dev
+ trycua/cua-qemu-windows:dev
```
**Access points:**
@@ -150,7 +150,7 @@ Setup scripts are in `src/vm/setup/`:
After modifying, rebuild the image:
```bash
-docker build -t trycua/cua-windows:dev .
+docker build -t trycua/cua-qemu-windows:dev .
```
## Credits