Open SerCeMan opened 7 years ago
It looks like you have a malformed port. Review the docker-compose reference on port mappings.
Actually port 9995:9995/tcp
is valid, check https://github.com/docker/compose/blob/28120148f4e1380096407626f846eda8f6970f36/tests/fixtures/expose-composefile/docker-compose.yml
Ah ok, yea I can add support for the /tcp
. The output you supplied was trying to load 9995/tc
, which looks malformed.
This is what it showed to me. I tested it with https://github.com/dawidmalina/docker-pinpoint
I'm also experiencing this issue.
I'm running the following command to get a production docker-compose.yml:
docker-compose -f docker-compose.yml -f docker-compose.production.yml config | docker run --rm -i micahhausler/container-transform -i compose -o ecs
The output from the config command for the port section returns
ports:
- 7000:7000/tcp
even though my docker-compose.yml explicitly says
ports:
- "7000:7000"
but the utility fails with the "/tcp" specification.
The parser won't parse - 7000:7000/tcp correctly.