How to share file or directory with other container on ECS?
问题 I have a Sumologic log collector which is a generic log collector. I want the log collector to see logs and a config file from a different container. How do I accomplish this? 回答1: ECS containers can mount volumes so you would define { "containerDefinitions": [ { "mountPoints": [ { "sourceVolume": "logs", "containerPath": "/tmp/clogs/" }, } ], "volumes": [ { "name": "logs", } ] } ECS also has a nice UI you can click around to set up the volumes at the task definition level, and then the