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
Copy file name to clipboardExpand all lines: run.sh
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,9 @@ if [[ -z "${DISABLE_CLEANER_AGENT}" && -z "${SIGTERM}" ]]; then
232
232
fi
233
233
234
234
DOCKERD_PID=$(cat /run/user/1000/docker.pid)
235
-
echo"DOCKERD_PID = ${DOCKERD_PID}"
235
+
echo"DOCKERD_PID = ${DOCKERD_PID}"
236
+
237
+
[[ -n"${SIGTERM}" ]] &&kill$DOCKERD_PID
236
238
237
239
whiletrue;do
238
240
# Monitor docker daemon and kill the entrypoint if it dies - before rootless this used to do wait $DOCKERD_PID - but in rootless the daemon is not a direct child of the entrypoint - that's why we need this block
0 commit comments