You've already forked mailcow-dockerized
mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-11-29 22:58:32 +02:00
scripts: make sure /etc/docker exists (#6791)
This commit is contained in:
@@ -155,6 +155,7 @@ docker_daemon_edit(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $ans =~ ^[Yy]$ ]]; then
|
if [[ $ans =~ ^[Yy]$ ]]; then
|
||||||
|
mkdir -p "$(dirname "$DOCKER_DAEMON_CONFIG")"
|
||||||
if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
|
if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
|
||||||
cat > "$DOCKER_DAEMON_CONFIG" <<EOF
|
cat > "$DOCKER_DAEMON_CONFIG" <<EOF
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user