1.4.4 • Published 5 years ago

adh v1.4.4

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

Build Status

ADH: Docker 'Useful Commands' Helper

Description

This package will help you working with Docker.

Installation

npm install -g adh

Usage

$ adh --help

  Commands:

    nginx [options]            			Run nginx with a volume in the current directory 
    stop [options]             			Stop containers
    ps                         			Formatted ps for running dockers
    ps-a|psa                   			Formatted ps for all dockers
    remove-containers|rc       			Remove all containers
    remove-images|ri           			Remove all images
    remove-none-images         			Remove none images
    remove-exited-containers|rec   		Remove exited containers
    remove-volumes             			Remove all named volumes
    kill-containers|kc         			Kill all containers
    create-local-registry|clr			Create a local registry

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

adh nginx options

Run nginx with a volume in the current directory

Options:

-h, --help         output usage information
-f, --force        Force remove nginx container with same name
-p, --port <port>  Host port. (Default: 8888)
-n, --name <name>  Container name (Default: adh-nginx)

Examples:

$ adh nginx -p 8080 -n myNginx -f
$ adh nginx -n myOtherNginx

adh stop options

Stop containers

Options:

-h, --help  output usage information
-a, --all  Stop all containers

adh start options

Start containers

Options:

-h, --help  output usage information
-a, --all  Start all stopped containers

Development Usage

For running all the test:

$ make test

For running a single test:

$ make TEST="startAndList" single-test
1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.10

5 years ago

1.3.9

5 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

7 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago