0.1.1 • Published 6 years ago

nockr v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

#nockr

nockr is a command line tool to run a docker container.

Usage: nockr options

Options:

-h, --help             output usage information
-V, --version          output the version number
-v, --volume <volume>  application root directory to be mounted on docker i.e. /opt/apps/hello-world
-p, --port <port>      port to be opened i.e. 80:80 1337:1337
-n, --name <name>      container name
-i, --image <image>    docker image

With mounting volume explicitlty

$ nockr -v /opt/projects/dev-app -p 8888 -n my_test_container -i upendradevsingh/noresadegn:2.0 .

Starting container from app root

$ nockr -p 8888 -n my_test_container -i upendradevsingh/noresadegn:2.0 .

Watch change in applications

$ nockr watch <container_id>

This command will run the gulp internally to watch the file changes and restart the server in the given docker container.

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago