mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
fix: ensure the /etc/docker exists when interacting with it via postinst
This commit is contained in:
committed by
GitHub
parent
949cb5bffc
commit
1733b8ec81
1
debian/postinst
vendored
1
debian/postinst
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user