Przeglądaj źródła

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

docker rootdir is different when installing crio
Vadim Rutkovsky 7 lat temu
rodzic
commit
5b267788ae

+ 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