https://linen.dev logo
m

Mason Wheeler

05/11/2021, 6:19 PM
I don't suppose anyone knows how to override a Docker container's standard behavior and make it boot into Bash rather than the process it's designed to startup as? (I have a malfunctioning container that starts up, errors out, and shuts down again too quickly for me to connect to it in Bash and poke around to figure out the problem.)
u

user

05/11/2021, 6:21 PM
how are you running the container?
u

user

05/11/2021, 6:21 PM
just from the cmd line?
u

user

05/11/2021, 6:22 PM
yeah, just basic
docker run blah blah blah
u

user

05/11/2021, 6:22 PM
something like
docker run -it --entrypoint /bin/bash blah blah blah
3 Views