Skip to content

Instantly share code, notes, and snippets.

@smothiki
Created August 10, 2021 04:00
Show Gist options
  • Save smothiki/1e7650634227c3c891507c90865d83cb to your computer and use it in GitHub Desktop.
Save smothiki/1e7650634227c3c891507c90865d83cb to your computer and use it in GitHub Desktop.
docker indocker
apiVersion: v1
kind: Pod
metadata:
name: dind
spec:
containers:
- name: dind
image: docker-registry.infra.cloudera.com/smothiki/web:docker
securityContext:
privileged: true
volumeMounts:
- name: docker-certs
mountPath: /etc/docker/certs.d
- name: dind-storage
mountPath: /var/lib/docker
volumes:
- name: dind-storage
emptyDir: {}
- name: docker-certs
hostPath:
path: /etc/docker/certs.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment