ID=$(docker ps -f ancestor=cmc:stg -q) docker kill $ID docker build -f Dockerfile_stg . -t "cmc:stg"