# shimo-docker-tools

> some awesome docker tools

Latest version **1.0.1** (published 2017-07-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install shimo-docker-tools
pnpm add shimo-docker-tools
yarn add shimo-docker-tools
bun add shimo-docker-tools
```

Provides the command `dtools`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-07-21 |
| First published | 2017-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | TomWan |
| Maintainers | luoyjx, tomwan |
| Keywords | docker, tools |

## Links

- npm: https://www.npmjs.com/package/shimo-docker-tools
- Repository: https://github.com/shimohq/docker-tools
- Homepage: https://github.com/shimohq/docker-tools#readme
- Issues: https://github.com/shimohq/docker-tools/issues
- npm.io page: https://npm.io/package/shimo-docker-tools

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [wildstring](https://npm.io/package/wildstring.md) 1.0.9

## Recent versions

- 1.0.1 (latest) — 2017-07-21
- 1.0.0 — 2017-05-18

## README

# docker-tools
Docker tools used by shimo

## Install

```bash
npm install shimo-docker-tools -g
```

## Usage

### export & import
This is used to import many images on a offline machine, you can import many images with their repo and tag information.

#### step 1: export

command: `dtools export test.json`

on: your own computer

for: export servaral images to a folder with a meta.json which is including image repo and tag informations.

The test.json like this:
```javascript
[
  {
    repo: 'xxx',
    tag: 'xxx'
  }
]
```

#### step 2: import

command: `dtools import targetDir`

on: the offline computer

for: Import images with repo and tag infomation from a folder created by `dtools export` above.

### image

#### remove

This is used to remove servaral images with wildcard:

```bash
dtools image remove prefix*
```

## License
MIT

---
_Source: https://npm.io/package/shimo-docker-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
