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
With version 0.7.0, when I try to tail nginx's /var/log/nginx/access.log to stdout using -stdout /var/log/nginx/access.log, instead of printing the access log, I get for each request a line:
Warning: unable to tail /var/log/nginx/access.log: tomb: still alive
This repeats ~30 times until dockerize finally stops nginx and the container crashes.
Minimal reproducible example
Dockerfile
ARG debian_version=10.13
FROM debian:${debian_version} AS build
MAINTAINER Ente "ducksource@duckpond.ch"
# Build dockerize
ARG dockerize_version=0.7.0
RUN set -ex \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends --no-install-suggests -y \
wget ca-certificates \
inotify-tools \
&& wget \
"https://github.com/jwilder/dockerize/releases/download/v${dockerize_version}/dockerize-linux-amd64-v${dockerize_version}.tar.gz" \
&& tar -C "/usr/local/bin" -xzvf "dockerize-linux-amd64-v${dockerize_version}.tar.gz" \
&& rm "dockerize-linux-amd64-v${dockerize_version}.tar.gz"
FROM debian:${debian_version}
# Install dockerize
RUN set -ex \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends --no-install-suggests -y \
inotify-tools
COPY --from=build /usr/local/bin/dockerize /usr/local/bin/dockerize
@munir131 are you sure? I can not reproduce this issue with version 0.6.1.
In my example I changed ARG dockerize_version=0.7.0 to ARG dockerize_version=0.6.1 and it worked just fine.
With version
0.7.0
, when I try to tail nginx's/var/log/nginx/access.log
to stdout using-stdout /var/log/nginx/access.log
, instead of printing the access log, I get for each request a line:This repeats ~30 times until dockerize finally stops nginx and the container crashes.
Minimal reproducible example
docker build .
The text was updated successfully, but these errors were encountered: