Commit Graph

5 Commits

Author SHA1 Message Date
Isaac Hermida 61dc4c88cf cc-container-mng: install config at /etc
There is no need to have a dedicated folder, as we only use a configuration
file. Other data is stored in a different path.

https://onedigi.atlassian.net/browse/DEL-10035

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-22 09:59:39 +02:00
Isaac Hermida 6a75e08023 containers: cc-container-mng: add shutdown service
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-04-20 09:21:57 +02:00
Isaac Hermida c4c0383ed6 meta-digi-containers: use /mnt/data/cc-container as storage path
For podman, configure the storage path modifying its config file.
For LXC, the install path is automatically managed by the daemon.

https://onedigi.atlassian.net/browse/DEL-9996
https://onedigi.atlassian.net/browse/DEL-10005

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:42:03 +01:00
Isaac Hermida 0f54b5a346 meta-digi-containers: keep containers running when cc-containerd stops
Set KillMode=process in the systemd unit so 'systemctl stop
cc-containerd' only terminates the daemon itself.

Without this, systemd uses the default control-group kill mode and
can terminate container processes that share the service cgroup,
which changes container runtime state when the service is stopped.

https://onedigi.atlassian.net/browse/DEL-9963
https://onedigi.atlassian.net/browse/DEL-10005

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:42:03 +01:00
Isaac Hermida d721721567 meta-digi-containers: add cc-container-mng daemon recipe
Add the cc-container-mng recipe and systemd service.

https://onedigi.atlassian.net/browse/DEL-10005

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2026-03-20 13:32:18 +01:00