runner: Expose dind runner dockerd logs via stdout/stderr (#2082)

* runner: Expose dind runner dockerd logs via stdout/stderr

We've been letting supervisord to run dockerd within the dind runner container presuming it would avoid producing zombie processes. However we used dumb-init to wrap supervisord to wrap dockerd. In this picture supervisord might be unnecessary and dumb-init is actually a correct pid 0 for containers.

Rmoving supervisord removes this unnecessary complexity, while saving a little memory, and more importantly logs from dockerd is exposed via stdout/stderr of the container for easy access from kubectl-logs, fluentd, and so on.
This commit is contained in:
Yusuke Kuoka
2022-12-12 08:39:35 +09:00
committed by GitHub
parent 418f719bdf
commit acbce4b70a
6 changed files with 4 additions and 18 deletions

View File

@@ -27,7 +27,6 @@ RUN apt-get update -y \
iproute2 \
iptables \
jq \
supervisor \
sudo \
uidmap \
unzip \