easy-docker
is a simple wrapper around Docker commands, written in Node.
dbash
:docker exec -it CONTAINER_ID /bin/bash
dip
:docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' CONTAINER_ID
dkill
:docker kill CONTAINER_ID
dlogs
:docker logs --follow CONTAINER_ID
drestart
:docker restart CONTAINER_ID
dsh
:docker exec -it CONTAINER_ID /bin/sh
dstop
:docker stop CONTAINER_ID
- Install from Github
git clone git@github.com:marcenacp/easy-docker.git
cd easy-docker/
npm install
npm link
- Use all shortcuts listed above