Skip to content

How to set permission on Volume mount #14063

Answered by powerserg19
powerserg19 asked this question in Q&A
Discussion options

You must be logged in to vote

The reason is because I was using a bind mounts to mount at container, By default, the volume permissions are set to 0755 and the owner as root. The permissions would need be changed in the Elastic Dockerfile. Instead I used Volume to mount the host dir
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bind-mounts.html

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by powerserg19
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant