I am “converting” the local docker-compose.yml from my dev Docker CE instance to AWS’ ECS service, using the
ecs-cli compose up command. I
cd into the working directory containing the files:
.env (or other environment files)
In my dev environment, I use Docker volumes with different uses. One use is to “externally” create a volume (which contains pre-defined data on it) which is then mounted into a volume on future containers that are deployed. My docker-compose would look like the following:
services: busybox: image: busybox:1.13.1 volumes: - external_volume:/container/file/system volumes: external_volume: external: true
If I run this with the
ecs-cli, it returns “External option is not supported”.
What changes do I need to make?
Steps to reproduce the behavior