Skip to content

Port should be configured in docker-compose.yml as strings #550

Description

@sangeethah

Server Version - V0.16.3

Steps to reproduce the problem:

Create an environment.
Create a service in this environment by specifying a port map.

The docker-compose.yml for this service has the ports specified as follows:

ports:
  - 8090:80/tcp

Following is the recommendation:

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/workloadkind/bugIssues that are defects reported by users or that we know have reached a real release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions