docker container ps -all --filter "name=$IMAGE" --format {{.ID}} |xargs --no-run-if-empty docker container stop docker container ps -all --filter "name=$IMAGE" --format {{.ID}} |xargs --no-run-if-empty docker container rm