From acd30caf5c62c52581bd02e6ed5d9af08fe7eb76 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 22 Mar 2019 12:40:48 -0400 Subject: [PATCH] Add --rm to docker run --- images/control | 1 + 1 file changed, 1 insertion(+) diff --git a/images/control b/images/control index f5e9904..af2b5c5 100755 --- a/images/control +++ b/images/control @@ -45,6 +45,7 @@ _docker_boot() { --device /dev/kvm \ --cpus=1 \ -p 127.0.0.1:$port:$port \ + --rm \ --name "builds_job_${BUILD_JOB_ID:-unknown_$(date +"%s")}" \ qemu /bin/${qemu:-qemu-system-$arch} \ -m ${MEMORY:-2048} \ -- 2.38.5