diff --git a/lib/util/exec/index.ts b/lib/util/exec/index.ts
index 4c0dba5a92d48ed70cdbb2801814ae84a1527d8f..8217ededfce711f75fb25954bf90f9c4de741903 100644
--- a/lib/util/exec/index.ts
+++ b/lib/util/exec/index.ts
@@ -140,15 +140,8 @@ export async function exec(
   let res: ExecResult | null = null;
   for (const rawExecCommand of commands) {
     const startTime = Date.now();
-    let timer;
-    const { timeout } = rawExecOptions;
     if (useDocker) {
       await removeDockerContainer(docker.image);
-      // istanbul ignore next
-      timer = setTimeout(() => {
-        removeDockerContainer(docker.image); // eslint-disable-line
-        logger.info({ timeout, rawExecCommand }, 'Docker run timed out');
-      }, timeout);
     }
     logger.debug({ command: rawExecCommand }, 'Executing command');
     logger.trace({ commandOptions: rawExecOptions }, 'Command options');
@@ -156,7 +149,6 @@ export async function exec(
       res = await rawExec(rawExecCommand, rawExecOptions);
     } catch (err) {
       logger.trace({ err }, 'rawExec err');
-      clearTimeout(timer);
       if (useDocker) {
         await removeDockerContainer(docker.image).catch((removeErr: Error) => {
           const message: string = err.message;
@@ -167,7 +159,6 @@ export async function exec(
       }
       throw err;
     }
-    clearTimeout(timer);
     const durationMs = Math.round(Date.now() - startTime);
     if (res) {
       logger.debug(