Skip to content

Change the mount without root permission #122

@hixichen

Description

@hixichen

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions