2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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?
répondu il y a 3 ans
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.
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an