Multi-arch version of runner-docker from drone-runners.
Source: https://docs.drone.io/runner/docker/installation/linux/
docker run --detach \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--env=DRONE_RPC_PROTO=https \
--env=DRONE_RPC_HOST=drone.company.com \
--env=DRONE_RPC_SECRET=super-duper-secret \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_RUNNER_NAME=my-docker-runner \
--publish=3000:3000 \
--restart=always \
--name=runner \
simaofsilva/drone-runner-docker:latest
drone-runner-docker:
image: simaofsilva/drone-runner-docker:latest
restart: unless-stopped
environment:
- DRONE_RPC_HOST=drone.company.com
- DRONE_RPC_PROTO=https
- DRONE_RPC_SECRET=super-duper-secret
ports:
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- drone