Snake Runner is distributed as Docker Image.
First, after add-on installation, go to
Bitbucket Admin Panel
and copy registration token.
Then run following command on your Docker host:
docker run \
--name snake-runner \
--restart on-failure \
-e "SNAKE_MASTER_ADDRESS=https://<bitbucket-address-here>/" \
-e "SNAKE_REGISTRATION_TOKEN=<registration-token-here>" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/snake-runner/secrets/:/var/lib/snake-runner/secrets/ \
runner installation guide
for step-by-step instructions.
Source code for runner is available on
Docker images can be found on