We need to follow the following two steps for deleting a container: - docker stop <container_id> - docker rm <container_id>