Skip to content

Commit

Permalink
(maint) Create LCOW logs path in VOLUME
Browse files Browse the repository at this point in the history
 - Due to the LCOW bug https://github.com/moby/moby#39892 make
   certain that the logs path also exists in the LCOW volume before
   starting any applications
  • Loading branch information
Iristyle committed Sep 29, 2019
1 parent 4c6eb89 commit 924f682
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 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

0 comments on commit 924f682

Please sign in to comment.