jenkins-automaintenance/timeout_docker.sh

5 lines
68 B
Bash

#!/bin/sh
set -x
timeout -f --kill-after=1 5h /usr/bin/docker "$@"