now also removes old running containers

This commit is contained in:
Philipp Kunz 2016-07-29 22:19:53 +02:00
parent 4dffa31f7d
commit 2c49978674
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -93,7 +93,7 @@ let runDockerImage = () => {
let deleteDockerContainer = () => {
let done = plugins.q.defer();
plugins.shelljs.exec(`docker rm ${dockerData.containerName}`,{
plugins.shelljs.exec(`docker rm -f ${dockerData.containerName}`,{
silent:true
});
done.resolve();