2回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
I'm still looking for a bit of an assit here as I've spent a couple days researching this topic.
Either of the following solutions would resolve my issue if they are possible:
- How do you mount a single EFS Volume Mount from one container into another container within the same Fargate task.
- Is it possible to overwrite a mount created via volumesFrom by specifying a separate mount with the same containerPath?
回答済み 3年前
0
So I had a complete misunderstaning of how the bind mounts had to be set up in order to selectively mount directories inside other containers of the same Fargate task. I've since resolved this issue by:
- Adding the volumes decalared in the Dockerfile with VOLUME to the container, using the containerPath as specified in the Dockerfile and the same sourceVolume as defined in the volumes property of the task definition.
- Then we mounted the volume via a mountPoint on the desired container by specifying the containerPath and using the same sourceVolume.
- We were then able to specify that the mountPoint should be readOnly.
Hopefully, this helps someone else running into a similar issue.
回答済み 3年前
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 3年前