This document describes how to use portworx volumes with Docker containers running as a non-root user.

Modify the application POD spec

You can add the following section in your Pod spec to set a GID for the portworx volume mount point inside the application container.

  spec:
    # Allow non-root user to access PersistentVolume
    securityContext:
      fsGroup: 1000
    containers: