docker: add 'docker exec'

This commit is contained in:
Amit Saha 2015-01-13 13:51:35 +10:00
parent be2cb6e632
commit da63c5d27f

View file

@ -4,6 +4,9 @@ docker -d
# start a container with an interactive shell
docker run -ti <image_name> /bin/bash
# "shell" into a running container (docker-1.3+)
docker exec -ti <container_name> bash
# inspect a running container
docker inspect <container_name> (or <container_id>)