Skip to content

Commit

Permalink
Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarcic committed Dec 5, 2020
1 parent 797bbb4 commit 8706c9b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-socket.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

apiVersion: v1
kind: Pod
metadata:
name: docker
spec:
containers:
- name: docker
image: docker
args: ["sleep", "10000"]
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
restartPolicy: Never
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock

13 changes: 13 additions & 0 deletions docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---

apiVersion: v1
kind: Pod
metadata:
name: docker
spec:
containers:
- name: docker
image: docker
args: ["sleep", "10000"]
restartPolicy: Never

0 comments on commit 8706c9b

Please sign in to comment.