Java language guide Dockerfile issue on final stage #21498
Labels
area/guides
kind/enhancement
Improves the usability of docs
kind/help-wanted
Relates to issues/PRs the project wants help on
Is this a docs issue?
Type of issue
Information is incorrect
Description
I have a Spring Boot REST API project and I followed the Java language specific guide instructions to containerize it in the right way.
However, the build stage presented in the Dockerfile makes my app raise an exception because it has no permission to create a file. This occurs because I use Logback FileAppender feature for logging.
Location
https://docs.docker.com/guides/java/containerize/
Suggestion
I know that logging to a file is not a standard for every Spring Boot application, and maybe, I should not do it. However, I wonder if the Docker build should be compatible with this because some projects may require some kind of access to the file system.
The text was updated successfully, but these errors were encountered: