amazon-ecs-local-container-endpoints icon indicating copy to clipboard operation
amazon-ecs-local-container-endpoints copied to clipboard

docker-compose file version 3.0

Open noahtrilling opened this issue 5 years ago • 3 comments

This is a great project!

I'm just curious if there is a functional reason why the tutorial hasn't been updated to specify version 3 of the docker-compose files. I was able to remove the 'gateway' configuration of the credentials network (no longer honored in v3 of docker-compose) and the local container endpoint continued to vend my ECS task credentials perfectly. I was curious if other use cases aren't supported by the new docker-compose configuration schema or if the documentation is simply behind.

Thanks!

noahtrilling avatar Jul 29 '19 20:07 noahtrilling

@noah-trilling All use cases will work with V3 Compose syntax.

PettitWesley avatar Jul 31 '19 17:07 PettitWesley

The docker-compose files do not work "as-is" with version 3. The first error that one will run into is documented here: https://github.com/docker/compose/issues/4366

ryanpeterson avatar Apr 08 '20 14:04 ryanpeterson

Seeing the same thing here trying to configure a local ECS + fargate setup. Here's the section in the v3 compose documentation that mentions gateway is currently only supported on v2 - https://docs.docker.com/compose/compose-file/#enable_ipv6

Additional IPAM configurations, such as gateway, are only honored for version 2 at the moment.

nickhammond avatar Apr 08 '20 23:04 nickhammond