1.1.6 • Published 3 years ago

@enesusta/dcli v1.1.6

Weekly downloads
16
License
ISC
Repository
github
Last release
3 years ago

dcli

CodeFactor npm JavaScript Style Guide install size

dcli is cli for Docker.

Installation

npm i @enesusta/dcli -g

Note:

Make sure that variables like grep, docker, sh are defined on your $PATH variable.

Otherwise it may not work.

Commands

default

default command has three options.

CommandDescription
-cList only containers and prints information of each container
-ciPrints only container IDs and names
-c

Lists only containers

dcli -c
-i

Lists only images

dcli -i
-v

Lists only volumes

dcli -v

npm.io

start

Starts a container that you already have. start command has 1 option.

dcli start

npm.io

start all

Starts whole containers that you already have.

dcli start --all

npm.io

stop

Stops a container that you already have.

dcli stop

npm.io

stop all

Stops whole containers that you already have.

dcli stop --all

npm.io

rm

Removes a container that you already have. rm command has 1 option

dcli rm

npm.io

rm force

Removes a contaniner that is running

dcli rm -f

or

dcli rm --force

rmi

Removes a image that you already have.

dcli rmi

npm.io

rmi -f

inspect

Inspects a container that you already have.

inspect command has 1 option.

dcli inspect

npm.io

inspect only IPAddress

This option uses grep via unix pipes.

dcli inspect -h

-h means host.

npm.io

dump

dcli can even dump your database containers.

  • For postgre containers;
dcli dump --postgre

npm.io

  • For mysql containers;
dcli dump --mysql

npm.io

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago