@enesusta/dcli
CLI for Docker
Last updated a month ago by enesusta .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @enesusta/dcli 
SYNC missed versions from official npm registry.

dcli

Build Status npm install size HitCount

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.

-c

Lists only containers

dcli -c
-i

Lists only images

dcli -i
-v

Lists only volumes

dcli -v

start

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

dcli start

start all

Starts whole containers that you already have.

dcli start --all

stop

Stops a container that you already have.

dcli stop

stop all

Stops whole containers that you already have.

dcli stop --all

rm

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

dcli rm

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

rmi -f

inspect

Inspects a container that you already have.

inspect command has 1 option.

dcli inspect

inspect only IPAddress

This option uses grep via unix pipes.

dcli inspect -h

-h means host.

dump

dcli can even dump your database containers.

  • For postgre containers;
dcli dump --postgre

  • For mysql containers;
dcli dump --mysql

Current Tags

  • 1.1.3                                ...           latest (a month ago)

12 Versions

  • 1.1.3                                ...           a month ago
  • 1.1.0                                ...           2 months ago
  • 1.0.9                                ...           2 months ago
  • 1.0.8                                ...           2 months ago
  • 1.0.7                                ...           2 months ago
  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           2 months ago
  • 1.0.4                                ...           2 months ago
  • 1.0.3                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 12
Last Month 39
Dependencies (6)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |