DOKK / manpages / debian 12 / cdist / cdist-type__docker_config.7.en
CDIST-TYPE__DOCKER_CONFIG(7) cdist CDIST-TYPE__DOCKER_CONFIG(7)

cdist-type__docker_config - Manage Docker configs

This type manages Docker configs.

Path to the source file. If it is '-' (dash), read standard input.
'present' or 'absent', defaults to 'present' where:
if the config does not exist, it is created
the config is removed


Since Docker configs cannot be updated once created, this type tries removing and recreating the config if it changes. If the config is used by a service at the time of removing, then this type will fail.

# Creates "foo" config from "bar" source file
__docker_config foo --source bar


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

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.

ungleich GmbH 2021

January 15, 2023 7.0.0