Skip to content

Instantly share code, notes, and snippets.

@vadym-martsynovskyy-hs
Created July 27, 2018 18:49
Show Gist options
  • Save vadym-martsynovskyy-hs/657f6629f3fb3b3f9847501cdb27e2bf to your computer and use it in GitHub Desktop.
Save vadym-martsynovskyy-hs/657f6629f3fb3b3f9847501cdb27e2bf to your computer and use it in GitHub Desktop.
containers:
- name: my-main-container
# ...
# other container config here
# ...
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: dind
image: docker:18.05-dind
securityContext:
privileged: true
volumeMounts:
- name: dind-storage
mountPath: /var/lib/docker
volumes:
- name: dind-storage
emptyDir: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment