1CDIST-TYPE__DOCKER_STACK(7)          cdist         CDIST-TYPE__DOCKER_STACK(7)
2
3
4

NAME

6       cdist-type__docker_stack - Manage Docker stacks
7

DESCRIPTION

9       This type manages service stacks.
10
11       NOTE:
12          Since  there  is  no  easy  way  to tell whether a stack needs to be
13          updated, docker stack deploy is being run every time  this  type  is
14          invoked.   However, it does not mean this type is not idempotent. If
15          Docker does not detect changes,  the  existing  stack  will  not  be
16          updated.
17

OPTIONAL PARAMETERS

19       compose-file
20              Path  to  the  compose  file. If it is '-' (dash), read standard
21              input.
22
23       state  'present' or 'absent', defaults to 'present' where:
24
25              present
26                     the stack is deployed
27
28              absent the stack is removed
29

EXAMPLES

31          # Deploys 'foo' stack defined in 'docker-compose.yml' compose file
32          __docker_stack foo --compose-file docker-compose.yml
33

AUTHORS

35       Ľubomír Kučera <lubomir.kucera.jr at gmail.com>
36

COPYING

38       Copyright (C) 2018 Ľubomír Kučera. You can redistribute it and/or  mod‐
39       ify  it  under the terms of the GNU General Public License as published
40       by the Free Software Foundation, either version 3 of  the  License,  or
41       (at your option) any later version.
42
44       ungleich GmbH 2020
45
46
47
48
496.9.4                            Dec 21, 2020      CDIST-TYPE__DOCKER_STACK(7)
Impressum