DEV Community

n350071πŸ‡―πŸ‡΅
n350071πŸ‡―πŸ‡΅

Posted on

debug Dockerfile

# 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)