Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the mount without root permission #122

Open
hixichen opened this issue Oct 8, 2018 · 0 comments
Open

Change the mount without root permission #122

hixichen opened this issue Oct 8, 2018 · 0 comments

Comments

@hixichen
Copy link

hixichen commented Oct 8, 2018

In templates/blockchain-utils.yaml file:

  • name: dockersocket
    hostPath:
    path: /var/run/docker.sock

It required the pod has root permission.
In case of pod does not has root permission, deployment will fail.

Error: release network failed: pods "network-ibm-blockchain-network-utils" is forbidden: AdmissionController validation failed: [spec.volumes[1].hostPath.pathPrefix: Invalid value: "/var/run/docker.sock": is not allowed to be used]

@hixichen hixichen changed the title Change the mount with root permission Change the mount without root permission Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant