mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 18:09:44 +00:00
SSHct: mount docker socket
This commit is contained in:
parent
6d1c9d2dd6
commit
4c80b61360
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/home
|
path: /data/home
|
||||||
type:
|
type:
|
||||||
|
- name: dockersock
|
||||||
|
hostPath:
|
||||||
|
path: /var/run/docker.sock
|
||||||
#- name: gorilychrume
|
#- name: gorilychrume
|
||||||
# hostPath:
|
# hostPath:
|
||||||
# path: /data/gorilych.ru/me
|
# path: /data/gorilych.ru/me
|
||||||
|
|
@ -41,6 +44,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /home
|
- mountPath: /home
|
||||||
name: home
|
name: home
|
||||||
|
- mountPath: /var/run/docker.sock
|
||||||
|
name: dockersock
|
||||||
#- mountPath: /home/www/me
|
#- mountPath: /home/www/me
|
||||||
# name: gorilychrume
|
# name: gorilychrume
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue