Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Added platform detection, opened port 7860
Dillon DuPont8eca52410a0a
diff --git a/scripts/run-docker-dev.sh b/scripts/run-docker-dev.shindex 8f96b355fb..d1301d096a 100755--- a/scripts/run-docker-dev.sh+++ b/scripts/run-docker-dev.sh@@ -24,6 +24,24 @@ IMAGE_NAME="cua-dev-image"CONTAINER_NAME="cua-dev-container"PLATFORM="linux/arm64"+# Detect platform based on architecture+arch=$(uname -m)++if [[ $arch == x86_64* ]]; then+ PLATFORM="linux/amd64"+ print_info "X64 Architecture detected, using platform: ${PLATFORM}"+elif [[ $arch == i*86 ]]; then+ PLATFORM="linux/386"+ print_info "X32 Architecture detected, using platform: ${PLATFORM}"+elif [[ $arch == arm* ]] || [[ $arch == aarch64 ]]; then+ PLATFORM="linux/arm64"+ print_info "ARM Architecture detected, using platform: ${PLATFORM}"+else+ # Fallback to amd64 for unknown architectures+ PLATFORM="linux/amd64"+ print_info "Unknown architecture ($arch), defaulting to platform: ${PLATFORM}"+fi+# Environment variablesPYTHONPATH="/app/libs/core:/app/libs/computer:/app/libs/agent:/app/libs/som:/app/libs/pylume:/app/libs/computer-server"@@ -56,6 +74,7 @@ case "$1" in-e PYTHONPATH=${PYTHONPATH} \-e DISPLAY=${DISPLAY:-:0} \-e PYLUME_HOST="host.docker.internal" \+ -p 7860:7860 \${IMAGE_NAME} bashelse# Run the specified example@@ -73,6 +92,7 @@ case "$1" in-e PYTHONPATH=${PYTHONPATH} \-e DISPLAY=${DISPLAY:-:0} \-e PYLUME_HOST="host.docker.internal" \+ -p 7860:7860 \${IMAGE_NAME} python "/app/examples/$2"fi;;