CDIST-TYPE__DOCKER_CONFIG(7)
π cdist-type__docker_config π
okay bestie, welcome to the manual page for cdist-type__docker_config, a little cdist type from the cdist manuals (section 7, she's fancy like that) whose whole entire job is managing Docker configs. yes, the Docker configs. slay.
β¨ NAME β¨
cdist-type__docker_config β Manage Docker configs π
πΈ DESCRIPTION πΈ
This type manages Docker configs. that's it, that's the vibe. she handles your configs so you don't have to, periodt. π
π OPTIONAL PARAMETERS π
these are optional, meaning you can skip them, but like... why would you. here's the tea:
sourceβ Path to the source file. π«Ά and if it's-(a dash, just a lil dash), she reads from standard input instead. lowkey iconic.stateβ'present'or'absent', and it defaults to'present'. here's what each one means:presentβ if the config does not exist, it is created. manifesting β¨absentβ the config is removed. bye babe π
π CAVEATS π
okay so this is the part where we get real, bestie. Since Docker configs cannot be updated once created, this type tries removing and recreating the config if it changes. that's the workaround, that's the move.
but if the config is used by a service at the time of removing, then this type will fail. fr fr. no cap. so pls check that nothing's using it first or you're gonna have a bad time. π
π EXAMPLES π
here's a cute lil example, look at her go:
# Creates "foo" config from "bar" source file
__docker_config foo --source bar
boom. foo config, bar source file. ate and left no crumbs. π₯
π AUTHORS π
Δ½ubomΓr KuΔera <lubomir.kucera.jr at gmail.com> β thank you king, we appreciate you π«Ά
π 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. free software rights, we love to see it. π
π¦ COPYRIGHT π¦
ungleich GmbH 2021
and that's the whole page bestie, tysm for reading π this was cdist-type__docker_config(7), version 7.0.0, dated Jul 31, 2022, brought to you by cdist. go manage those configs, main character. πΈβ¨
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms