now also removes old running containers
This commit is contained in:
parent
4dffa31f7d
commit
2c49978674
4
dist/npmdocker.docker.js
vendored
4
dist/npmdocker.docker.js
vendored
File diff suppressed because one or more lines are too long
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user