2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
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?
respondido hace 3 años
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.
respondido hace 3 años
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace un año