I see examples of --publish everywhere in the docker docs, but I cannot find any actual documentation of these options, and what each of them do. Is this documentation anywhere?
For example, on a github issue there was this example to limit 1 container per node without having to use
mode=global, so if my replicas > nodes, I should never see 2 of them in the same node:
target actually do? Do I need both? And I’m already using
--network host, do I need to specify
mode=host again here?