docker remove dead containers code example Example: docker force remove container docker rm -f [containerid]