I need to know whether there is a possibility to create a container running my php application with some of my php files unaccessible from outside the docker.
Docker secret can not be applied to this case.
Is there anything I might have overlooked?
Edit: Apparently this is not possible, I still need a detailed explanation as to why this is not possible.
Edit2: We need to make files within the docker unaccessible (so the code can not be read) to the user running the container. Opening port 80 to execute/run the scripts via apache is not the problem.