1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
3908ab3013
example.container: Add timezone example
Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-30 11:03:29 +02:00
57b983e876
example.container: Add resource accounting
Add 'accounting' and its child-objects 'cgroup' and 'cpu' to control
the container cgroup and cpu usage.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-30 10:22:25 +02:00
e100abf698
example.container: Show a host volume in the example config
Since that is now possible, show an example for a host volume in the
example configuration.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-29 10:07:38 +02:00
4ce53cb20b
example.container: Update example config with volume mount options
Volumes can be mounted with some different flags or no flags at all.
Since converting the string into an object would be overkill, as most of
the time the default options should suffice, and branching in
Volumes.from_json() to handle both strings and objects is also no the
cleanest method, implement it by using what already exists. Mount points
are not checked by the script, so the mount options can just be added to
the CONTAINER-DIR part of the volume config.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-29 09:50:56 +02:00
d9ef9e395d
example.container: Add container example configuration
Add an example configuration to showcase different ways to configure
container options.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-22 12:57:26 +02:00