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.

docs(qemu-docker/linux): update readme doc

[email protected]726d44d1b67a
diff --git a/libs/qemu-docker/linux/README.md b/libs/qemu-docker/linux/README.md
index 59cb7edc2b..c38dbc56b5 100644
--- a/libs/qemu-docker/linux/README.md
+++ b/libs/qemu-docker/linux/README.md
@@ -25,7 +25,7 @@ This ISO is used for automated Ubuntu installation with cloud-init on first run.
### 2. Build the Image
```bash
-docker build -t cua-linux:dev .
+docker build -t trycua/cua-linux:dev .
```
### 3. First Run - Create Golden Image
@@ -36,11 +36,11 @@ On first run, the container will install Ubuntu from scratch and create a golden
# Create storage directory
mkdir -p ./storage
-# Run with ubuntu.iso to create golden image
+# Run with setup.iso to create golden image
docker run -it --rm \
--device=/dev/kvm \
--name cua-linux \
- --mount type=bind,source=/path/to/ubuntu.iso,target=/custom.iso \
+ --mount type=bind,source=src/vm/image/setup.iso,target=/custom.iso \
--cap-add NET_ADMIN \
-v $(pwd)/storage:/storage \
-p 8006:8006 \
@@ -48,7 +48,7 @@ docker run -it --rm \
-e RAM_SIZE=8G \
-e CPU_CORES=4 \
-e DISK_SIZE=64G \
- cua-linux:dev
+ trycua/cua-linux:dev
```
**What happens during first run:**
@@ -66,7 +66,7 @@ docker run -it --rm \
After the golden image is created, subsequent runs boot much faster (30 sec - 2 min):
```bash
-# Run without ubuntu.iso - uses existing golden image
+# Run without setup.iso - uses existing golden image
docker run -it --rm \
--device=/dev/kvm \
--name cua-linux \
@@ -76,7 +76,7 @@ docker run -it --rm \
-p 5000:5000 \
-e RAM_SIZE=8G \
-e CPU_CORES=4 \
- cua-linux:dev
+ trycua/cua-linux:dev
```
**Access points:**
@@ -100,7 +100,7 @@ docker run -it --rm \
### Volumes
- `/storage`: Persistent VM storage (golden image, disk)
-- `/custom.iso`: Mount point for ubuntu.iso (only needed for first run)
+- `/custom.iso`: Mount point for setup.iso (only needed for first run)
- `/oem`: Optional mount point for custom OEM scripts (built-in scripts included in image)
## Architecture
@@ -142,5 +142,5 @@ Setup scripts are in `src/vm/setup/`:
After modifying, rebuild the image:
```bash
-docker build -t cua-linux:dev .
+docker build -t trycua/cua-linux:dev .
```