-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change docker label format. Should not support bracket chars #30
Comments
Yes, I'm open to proposals. On Mon, Jan 11, 2016 at 12:35 PM, Matt McClean [email protected]
Jeff Lindsay |
How about having a "dot" separator instead between connect and the port number? An example would be
|
That's what I was thinking it would have to be. Alright, now if somebody can submit a PR for it. ;) |
Hi,
I am trying to use this sidecar container in an architecture with Amazon EC2 Container Service (ECS). When I try to configure an ECS task definition with the label format
connect[8081]=stock-price.service.consul
it gives the following error message:Docker label key connect[8081] contains invalid characters, does not match pattern ^[a-z0-9-.]+$
According to the docker spec the ECS service is correct in checking that the labels contain only lower-cased alphanumeric characters, dots and dashes (see: https://docs.docker.com/engine/userguide/labels-custom-metadata/). It seems however that docker engine is not strict in enforcing this.
Is there any chance this can be changed to support valid Docker tag as per the spec?
The text was updated successfully, but these errors were encountered: