Skip to content
Discussion options

You must be logged in to vote

You can do one of two things with non-root:

  • Write to any directory under /home/app
  • Create an other directory at the root that is writeable by app.

This makes the point to show the space that app owns.

$ docker run --rm -u app --entrypoint bash mcr.microsoft.com/dotnet/aspnet:8.0 -c "cd && pwd"
/home/app

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@richlander
Comment options

@LanceMcCarthy
Comment options

Answer selected by LanceMcCarthy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants