1
0
mirror of https://github.com/cheat/cheat.git synced 2025-04-11 12:06:06 +02:00

Merge pull request from amitsaha/docker_update

docker: add 'docker exec'
This commit is contained in:
Chris Lane 2015-02-09 17:57:39 -05:00
commit 77cba58599

@ -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>)