From 90e2e92241f3eb207c4ab126eec91e93e5b280b6 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Mon, 15 Apr 2019 05:39:21 +0200 Subject: [PATCH] Use force option when removing container (#78) --- lib/clean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clean.js b/lib/clean.js index b219062..87e33d8 100644 --- a/lib/clean.js +++ b/lib/clean.js @@ -12,6 +12,6 @@ module.exports = context => { const options = {cwd: context.cwd}; return removeFile(path.join(context.cwd, `.${context.version}.dockerfile`)) - .then(() => exec('docker', ['rmi', image], options)) + .then(() => exec('docker', ['rmi', '-f', image], options)) .then(() => context); };