Much question marks (????) as chmod in mounted volume by docker-compose in Fedora

Written on Wednesday July 24, 2019 - Permalink - Tags: fedora, linux, docker, chmod, setenforce, selinux, volume


On the Fedora based host you try mount volume in dockerized machine but get Permission denied errors and chmod of mounted share is displayed as much question marks (????).


You can add before docker-compose command: su -c "setenforce 0". Entire example command:

su -c "setenforce 0"; docker-compose up -d