dockerctl
dockerctl: My playing with docker in golang. Only for fun and study…
build
git clone https://github.com/podanypepa/dockerctl.git cd dockerctl go build
usage
./dockerctl -u
output:
usage:
build/create docker image:
./dockerctl -c -d DIR_PATH -i IMG_NAME
run container from image:
./dockerctl -r -i IMG_NAME
if you want run container with exposed port:
./dockerctl -r -i IMG_NAME -p PORT