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)