Ver Fonte

Merge pull request #8027 from sjenning/fix-docker-root-vol-mount

docker rootdir is different when installing crio
Vadim Rutkovsky há 7 anos atrás
pai
commit
5b267788ae
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      roles/openshift_docker_gc/templates/dockergc-ds.yaml.j2

+ 2 - 2
roles/openshift_docker_gc/templates/dockergc-ds.yaml.j2

@@ -47,14 +47,14 @@ items:
           volumeMounts:
           - name: docker-root
             readOnly:  true
-            mountPath: /var/lib/docker
+            mountPath: /var/lib/containers/docker
           - name: docker-socket
             readOnly:  false
             mountPath: /var/run/docker.sock
         volumes:
         - name: docker-root
           hostPath:
-            path: /var/lib/docker
+            path: /var/lib/containers/docker
         - name: docker-socket
           hostPath:
             path: /var/run/docker.sock