#upgrade setup to the latest openclaw version
1 messages ยท Page 1 of 1 (latest)
If your docker-compose.yml for openclaw-gateway has build: ., the upgrade path is:
- update the source checkout to the version you want
- rebuild + recreate the container
So yes, for that setup, the right move is basically:
git pull # or git checkout <tag>
docker compose up -d --build
docker pull ghcr.io/openclaw/openclaw:latest is the right path only if you are running from a prebuilt image and treating image: as the source of truth. If you keep build: ., pulling GHCR is not the main upgrade mechanism.
My recommendation: pick one model and keep it consistent.
- Source-built install: update repo, then
docker compose up -d --build