-
Notifications
You must be signed in to change notification settings - Fork 118
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
Invalid type of Published attribute in ServicePortConfig #312
Comments
If this issue is valid I would love to work on it 🙏. |
@AhmedGrati you can work on custom marshaller/unmarshaller but you need to keep in mind that Compose Specification allow usage of ports range declaration such as |
@glours Since the |
|
Description
In the
ServicePortConfig
struct, thePublished
attribute is of type string. However, such implementation led to some problems when in docker-compose. In fact, considering this docker-compose YAML file:The output of the command
docker compose convert
is the followingAs you can see, the
published
attribute is of string type, which lead to this error while executingdocker stack deploy
:This issue is mainly related to an issue raised in docker compose repository.
The text was updated successfully, but these errors were encountered: