ID=$(docker ps -qf ancestor='cmcdjango:latest') docker kill $ID sleep 1 docker run -d -p 127.0.0.1:8888:8888 cmcdjango:latest