Open NeilW opened 1 month ago
Typically accessory services only expose one port. But curious, in which case we need to expose multiple ports.
GlusterFS containers.
https://github.com/gluster/gluster-containers/blob/master/CentOS/Dockerfile
Typically these run on 'net=host' to avoid a long list of port exports. However the 'kamal' network in kamal prevents that option.
You can pass custom options to accessories as described here.
Is there a particular reason why there isn't a
ports
option for accessories that allows the container to publish multiple ports?ISTM this should be a list of ports and there should be a '--publish' option generated for each one.