|
|
|
|
|
by robbomacrae
2568 days ago
|
|
Thank you!! I always wanted to have a way of quickly ssh'ing into my docker image with some sort of virtual box implementation so I could poke around. I always felt the debug tools lacking. This is perfect. Can't wait to try it out! |
|
Getting shell in a new copy of container:
docker run -it --entrypoint=/bin/sh ${container}
Running shell inside a running container:
docker exec -it ${container} /bin/sh
Running sshd inside a container to let you peek inside is bad taste, and bad security, too.