Fix OpenClaw architecture mismatch - specify linux/amd64 platform

Adds explicit platform: linux/amd64 to prevent pulling ARM64 image on x86_64 systems, which causes "Exec format error"
This commit is contained in:
2026-02-09 02:04:57 +00:00
parent 68e3f673e8
commit 8209caecff
+1
View File
@@ -2,6 +2,7 @@ services:
openclaw: openclaw:
container_name: openclaw container_name: openclaw
image: ghcr.io/openclaw/openclaw:main image: ghcr.io/openclaw/openclaw:main
platform: linux/amd64
restart: unless-stopped restart: unless-stopped
command: ["node", "openclaw.mjs", "gateway", "--allow-unconfigured", "--bind", "lan"] command: ["node", "openclaw.mjs", "gateway", "--allow-unconfigured", "--bind", "lan"]
environment: environment: