Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker Read-Only File System #66
I learned that you have the ability to set the file system to read-only in docker by setting a simple boolean flag. Any custom volumes you've specified remain unaffected. This seems like a great little flag to turn on for some added security, so I tried it out and got the following error from my ASP.NET Core 2.0 runtime image:
Does the ASP.NET Core image support this feature and could it even be turned on in the Dockerfile by default for some added security?
This could possibly be achieved by specifying volume mounts corresponding to every directory that ASP.NET and your application may write temporary write files to.
@RehanSaeed if you want to give it a shot, we can help you through issues you encounter along the way.