NAME
API::Docker::Type::EndpointPortConfig - One entry of EndpointSpec.Ports
VERSION
version 0.004
DESCRIPTION
Generated from the EndpointPortConfig definition of spec/v1.51.yaml, which the swagger leaves undescribed. Nothing in paths: reaches it either; it is one entry of EndpointSpec.Ports, PortStatus.Ports and Service.Endpoint.Ports.
name
Undocumented upstream.
protocol
Undocumented upstream. The transport protocol of the published port, tcp in the swagger's Service example. The same enumeration appears on a container's own port list as "type" in API::Docker::Type::Port. The swagger enumerates tcp, udp and sctp.
target_port
The port inside the container.
published_port
The port on the swarm hosts.
publish_mode
The mode in which port is published.
"ingress" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not.
"host" bypasses the routing mesh and publish the port directly on the swarm node where that service is running.
The daemon defaults it to ingress.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.