Skip to content

Instantly share code, notes, and snippets.

@ksmarty
Created May 17, 2020 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksmarty/e274169f8ad61663b0bc9f0b0cc49f31 to your computer and use it in GitHub Desktop.
Save ksmarty/e274169f8ad61663b0bc9f0b0cc49f31 to your computer and use it in GitHub Desktop.
$ docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-e DRONE_RPC_PROTO=http \
-e DRONE_RPC_HOST= \
-e DRONE_RPC_SECRET= \
-e DRONE_RUNNER_CAPACITY=2 \
-e DRONE_RUNNER_NAME=${HOSTNAME} \
-p 3000:3000 \
--restart always \
--name runner \
drone/drone-runner-docker:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment