Update docker script to avoid 'chcon' error


Possible solution:

  • check 'chcon' is available

  • ':z'


Ding-Yi Chen
February 9, 2017, 1:33 AM
Sean Flanigan
February 1, 2017, 4:38 AM

Background info from man docker-run:

To change a label in the container context, you can add either of two suffixes :z or :Z to the volume mount. These suffixes tell Docker to relabel file objects on the shared volumes. The z option tells Docker that two containers share the volume content. As a result, Docker labels the content with a shared content label. Shared volume labels allow all containers to read/write content. The Z option tells Docker to label the content with a private unshared label. Only the current container can use a private volume.

Ready for Release
Your pinned fields
Click on the next to a field label to start pinning.


Ding-Yi Chen


Alex Eng

Tested Version/s