diff options
author | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-09-06 19:55:20 -0400 |
---|---|---|
committer | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-09-06 19:57:53 -0400 |
commit | 8ad6f25db8f702dcf5456bbb583cc4579c55576c (patch) | |
tree | 3ad52833154ebcd6a46a5591e51601dda1988ae1 /contrib/podmanimage/stable/Dockerfile | |
parent | 30cbb0091515a7f802f0f3f3ee486be6ff98f645 (diff) | |
download | podman-8ad6f25db8f702dcf5456bbb583cc4579c55576c.tar.gz podman-8ad6f25db8f702dcf5456bbb583cc4579c55576c.tar.bz2 podman-8ad6f25db8f702dcf5456bbb583cc4579c55576c.zip |
Turn off journald in podmanimages on quay.io
In the Dockerfiles that are used to build the podman images on
quay.io, we were changing the events_logger from journald to
file in libpod.conf, but we weren't enabling it as we didn't
remove the comment. This corrects that and addresses: #3464
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'contrib/podmanimage/stable/Dockerfile')
-rw-r--r-- | contrib/podmanimage/stable/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/podmanimage/stable/Dockerfile b/contrib/podmanimage/stable/Dockerfile index 056f62624..6b4eb2220 100644 --- a/contrib/podmanimage/stable/Dockerfile +++ b/contrib/podmanimage/stable/Dockerfile @@ -18,7 +18,7 @@ RUN sed -i -e 's|^#mount_program|mount_program|g' -e '/additionalimage.*/a "/var RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers; touch /var/lib/shared/overlay-images/images.lock; touch /var/lib/shared/overlay-layers/layers.lock # Adjust libpod.conf to write logging to a file -RUN sed -i 's/events_logger = "journald"/events_logger = "file"/g' /usr/share/containers/libpod.conf +RUN sed -i 's/# events_logger = "journald"/events_logger = "file"/g' /usr/share/containers/libpod.conf # Set up environment variables to note that this is # not starting with usernamespace and default to |