[docker_image_ctl]: Add --force while removing obsolete dockers (#1744)

This commit is contained in:
Shuotian Cheng 2018-05-25 20:04:08 -07:00 committed by lguohan
parent bb6ff62a32
commit 46c2d340ff

View File

@ -52,7 +52,7 @@ start() {
# docker created with a different HWSKU, remove and recreate
echo "Removing obsolete {{docker_container_name}} container with HWSKU $DOCKERMOUNT"
docker rm {{docker_container_name}}
docker rm -f {{docker_container_name}}
fi
{%- if docker_container_name == "database" %}