Merge pull request #8236 from dokku/josegonzalez-patch-1

Ensure the /etc/docker exists when interacting with it via postinst
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2025-12-22 13:19:51 -05:00
commit 241a7bff16
1 file changed
+1
+1
View File
@@ -43,6 +43,7 @@ setup-docker-live-restore() {
echo "Enabling docker live-restore" echo "Enabling docker live-restore"
if [[ ! -f /etc/docker/daemon.json ]]; then if [[ ! -f /etc/docker/daemon.json ]]; then
mkdir -p /etc/docker
echo "{}" >/etc/docker/daemon.json echo "{}" >/etc/docker/daemon.json
fi fi