Browse Source

node: specify bind option to /root/.docker

Without the option, runc fails with "no such device" when trying to
create the mount point.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1534933

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 7 years ago
parent
commit
63cf501208
1 changed files with 1 additions and 0 deletions
  1. 1 0
      roles/openshift_node/defaults/main.yml

+ 1 - 0
roles/openshift_node/defaults/main.yml

@@ -83,6 +83,7 @@ openshift_node_syscon_auth_mounts_l:
   destination: "/root/.docker"
   options:
   - ro
+  - bind
 
 # If we need to add new mounts in the future, or the user wants to mount data.
 # This should be in the same format as auth_mounts_l above.