You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using docker's --read-only and s6-overlay's S6_READ_ONLY_ROOT=1, then /var/log directory needs to be created before socklog can be used. Otherwise socklog yields error similar to #2 nonstop.
Considering that this is an add-on to s6-overlay, then perhaps this overlay could install an additional script setting up /var/log directory in case of S6_READ_ONLY_ROOT is enabled?
On Mon, Apr 27, 2020 at 04:07:07PM -0700, Mark Vainomaa wrote:
When using docker's `--read-only` and s6-overlay's `S6_READ_ONLY_ROOT=1`, then /var/log directory needs to be created before socklog can be used. Otherwise socklog yields error similar to #2 nonstop.
Considering that this is an add-on to s6-overlay, then perhaps this overlay could install an additional script setting up /var/log directory in case of `S6_READ_ONLY_ROOT` is enabled?
```sh
cat > /etc/cont-init.d/00-init-varlog <<EOF
#!/usr/bin/execlineb -P
mkdir -p /var/log
EOF
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#6
When using docker's
--read-only
and s6-overlay'sS6_READ_ONLY_ROOT=1
, then /var/log directory needs to be created before socklog can be used. Otherwise socklog yields error similar to #2 nonstop.Considering that this is an add-on to s6-overlay, then perhaps this overlay could install an additional script setting up /var/log directory in case of
S6_READ_ONLY_ROOT
is enabled?The text was updated successfully, but these errors were encountered: