# 1. find the target-container
docker ps -a
# 2. save it as an image with a name tag
docker commit [sha-of-the-target-container] debug
# 3. run it. (debug is named at last step)
docker run -rm -it debug /bin/bash
# 1. find the target-container
docker ps -a
# 2. save it as an image with a name tag
docker commit [sha-of-the-target-container] debug
# 3. run it. (debug is named at last step)
docker run -rm -it debug /bin/bash
Top comments (0)