ID=$(docker ps -f ancestor=cmc:latest -q) docker kill $ID sleep 1 docker run -d -p 8888:80 cmc:latest