Skip to content

Instantly share code, notes, and snippets.

@mdub
Created December 21, 2017 05:27
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 mdub/8d42e85949ca87299cac655206bc620f to your computer and use it in GitHub Desktop.
Save mdub/8d42e85949ca87299cac655206bc620f to your computer and use it in GitHub Desktop.
buildkite agent with a side of Docker
version: "3.3"
volumes:
shared: {}
services:
docker:
image: docker:rc-dind
privileged: true
userns_mode: host
volumes:
- shared:/shared
agent:
image: buildkite/agent:3.0
depends_on:
- docker
environment:
DOCKER_HOST: tcp://docker:2375
command: bash
entrypoint: []
volumes:
- shared:/shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment