Docker Community Forums

Share and learn in the Docker community.

Hide or restrict a folder

Hello All
Is there anyway to restrict access to some files in the docker container?
To be more specific, we have to copy some script files(ruby and js) to an specific folder on our docker image but we don’t want the one who runs the container from this image to be able to open that specific folder and view its content.

Best Regards
Ramin