DEV Community

n350071๐Ÿ‡ฏ๐Ÿ‡ต
n350071๐Ÿ‡ฏ๐Ÿ‡ต

Posted on

1 1

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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free โ†’

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay