Quotes on docker-compose.yml ports make any difference?

Note from Docker Compose file version 3 reference:

When mapping ports in the HOST:CONTAINER format, you may experience erroneous results when using a container port lower than 60, because YAML parses numbers in the format xx:yy as a base-60 value. For this reason, we recommend always explicitly specifying your port mappings as strings.


Leave a Comment