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.

Add multiplatform build docs, fix incorrect image name

Dillon DuPontd8edc3bb5155
diff --git a/docs/content/docs/computer-sdk/computers.mdx b/docs/content/docs/computer-sdk/computers.mdx
index 1c3558da6b..f2dce7abcf 100644
--- a/docs/content/docs/computer-sdk/computers.mdx
+++ b/docs/content/docs/computer-sdk/computers.mdx
@@ -63,7 +63,7 @@ Cua provides two Docker images for running Linux desktops:
2. Pull the CUA XFCE image
```bash
- docker pull --platform=linux/amd64 trycua/cua-xfce:latest
+ docker pull --platform=linux/amd64 trycua/cua-docker-xfce:latest
```
3. Connect with Computer
@@ -74,7 +74,7 @@ Cua provides two Docker images for running Linux desktops:
computer = Computer(
os_type="linux",
provider_type="docker",
- image="trycua/cua-xfce:latest",
+ image="trycua/cua-docker-xfce:latest",
name="my-xfce-container"
)
diff --git a/docs/content/docs/quickstart-cli.mdx b/docs/content/docs/quickstart-cli.mdx
index 7bf537731e..c8d4eafe86 100644
--- a/docs/content/docs/quickstart-cli.mdx
+++ b/docs/content/docs/quickstart-cli.mdx
@@ -47,7 +47,7 @@ Choose how you want to run your cua computer. **Cloud Sandbox is recommended** f
2. Pull the CUA XFCE container (lightweight desktop)
```bash
- docker pull --platform=linux/amd64 trycua/cua-xfce:latest
+ docker pull --platform=linux/amd64 trycua/cua-docker-xfce:latest
```
Or use KASM for a full-featured desktop:
diff --git a/libs/kasm/README.md b/libs/kasm/README.md
index 2a383535b7..884f7ed73a 100644
--- a/libs/kasm/README.md
+++ b/libs/kasm/README.md
@@ -13,23 +13,20 @@ Containerized virtual desktop for Computer-Using Agents (CUA). Utilizes Kasm's M
## Usage
-### Building the Container
+### Build and Push (multi-arch)
-```bash
-docker build -t cua-ubuntu:latest .
-```
-
-### Pushing to Registry
+Use Docker Buildx to build and push a multi-architecture image for both `linux/amd64` and `linux/arm64` in a single command. Replace `trycua` with your Docker Hub username or your registry namespace as needed.
```bash
-# Tag for Docker Hub (replace 'trycua' with your Docker Hub username)
-docker tag cua-ubuntu:latest trycua/cua-ubuntu:latest
-
-# Login to Docker Hub
+# Login to your registry first (Docker Hub shown here)
docker login
-# Push to Docker Hub
-docker push trycua/cua-ubuntu:latest
+# Build and push for amd64 and arm64 in one step
+docker buildx build \
+ --platform linux/amd64,linux/arm64 \
+ -t trycua/cua-ubuntu:latest \
+ --push \
+ .
```
### Running the Container Manually
diff --git a/libs/xfce/README.md b/libs/xfce/README.md
index 9ecdff001f..130f129673 100644
--- a/libs/xfce/README.md
+++ b/libs/xfce/README.md
@@ -41,17 +41,20 @@ Vanilla XFCE desktop container for Computer-Using Agents (CUA) with noVNC and co
docker build -t cua-docker-xfce:latest .
```
-## Pushing to Registry
+### Build and Push (multi-arch)
-```bash
-# Tag for Docker Hub (replace 'trycua' with your Docker Hub username)
-docker tag cua-docker-xfce:latest trycua/cua-docker-xfce:latest
+Use Docker Buildx to build and push a multi-architecture image for both `linux/amd64` and `linux/arm64` in a single command. Replace `trycua` with your Docker Hub username or your registry namespace as needed.
-# Login to Docker Hub
+```bash
+# Login to your registry first (Docker Hub shown here)
docker login
-# Push to Docker Hub
-docker push trycua/cua-docker-xfce:latest
+# Build and push for amd64 and arm64 in one step
+docker buildx build \
+ --platform linux/amd64,linux/arm64 \
+ -t trycua/cua-docker-xfce:latest \
+ --push \
+ .
```
## Running the Container Manually