fix: ensure the /etc/docker exists when interacting with it via postinst

This commit is contained in:
Jose Diaz-Gonzalez
2025-12-22 13:19:30 -05:00
committed by GitHub
parent 949cb5bffc
commit 1733b8ec81

1
debian/postinst vendored
View File

@@ -43,6 +43,7 @@ setup-docker-live-restore() {
echo "Enabling docker live-restore"
if [[ ! -f /etc/docker/daemon.json ]]; then
mkdir -p /etc/docker
echo "{}" >/etc/docker/daemon.json
fi