Enter the docker

Neat little tool to get a shell into a docker container so you don't have to install additional services like sshd in your containers and keep your containers single service only.

Run this once:
sudo docker run -v /usr/local/bin:/target jpetazzo/nsenter

After that you can get a shell into any container with:
sudo docker-enter <containername>

docker-enter on github