Step by step documentation¶
Step 1 Install¶
Following https://docs.openclaw.ai/install/docker
Clone the repo (https://github.com/openclaw/openclaw.git)
Install docker, https://docs.docker.com/engine/install/ubuntu/.
For rootless docker follow: https://docs.docker.com/engine/security/rootless/
Install requirements
Run the rootless setup script
Run docker info, to verify the context says rootless.
Get the docker gui, replace 1000 with your uid.
Uncomment the lines regarding the docker sock and DOCKER_GUI in docker-compose.yml
Create an .env file
export OPENCLAW_IMAGE=ghcr.io/openclaw/openclaw:2026.3.13-1
export OPENCLAW_SANDBOX=1
export OPENCLAW_DOCKER_SOCKET=/run/user/1000/docker.sock
export DOCKER_GID=[fill this value]
export OPENCLAW_CONFIG_DIR=./config
export OPENCLAW_WORKSPACE_DIR=./config/workspace