cdist-type__docker_swarm - Manage Swarm
Contents
Copying
Copyright (C) 2018 Ľubomír Kučera. You can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Copyright
ungleich GmbH 2021
7.0.0 Sep 11, 2024 CDIST-TYPE__DOCKER_SWARM(7)
Description
This type can initialize Docker swarm mode. For more information about swarm mode, see Swarmmodeoverview.
Examples
# Initializes a swarm
__docker_swarm
# Leaves a swarm
__docker_swarm --state absent
Name
cdist-type__docker_swarm - Manage Swarm
Optional Parameters
state 'present' or 'absent', defaults to 'present' where:
present
Swarm is initialized
absent Swarm is left
