Docker and CI/CD · Middle · Question 9 of 75

After USER node, the app can't write to /app. What's a common fix?

Explanation

Files copied as root stay owned by root. Set ownership during the copy, and prefer writing only to specific folders or volumes.

Further reading

Problem with a question

Docker and CI/CD · Middle · question 9

Test yourself

Take the Docker and CI/CD · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz