diff --git a/docker/puppetdb/docker-entrypoint.d/00-lcow-volume-fix.sh b/docker/puppetdb/docker-entrypoint.d/00-lcow-volume-fix.sh new file mode 100755 index 0000000000..2a64e00622 --- /dev/null +++ b/docker/puppetdb/docker-entrypoint.d/00-lcow-volume-fix.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -ex + +# Creating log path as a workaround for LCOW VOLUME bug +# https://github.com/moby/moby/issues/39892 + +# when the log directory doesn't exist, there can be errors from apps logging there +mkdir -p /opt/puppetlabs/server/data/puppetdb/logs