Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions usr/share/openmediavault/mkconf/docker
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ _check_existing_sockets
### Whenever someone adds a tcp or another unix socket we have to make sure we also add the default /var/run/docker.sock that
### the plugin php backend uses.

# Just in case that the folder does not exist
mkdir -p ${OMV_DOCKERDAEMON_JSON_CONF%/*}

if [ ! -f ${OMV_DOCKERDAEMON_JSON_CONF} ]; then
touch ${OMV_DOCKERDAEMON_JSON_CONF}
else
Expand Down