An open API service indexing awesome lists of open source software.

https://github.com/shimohq/docker-tools

Docker tools used by shimo
https://github.com/shimohq/docker-tools

Last synced: 6 months ago
JSON representation

Docker tools used by shimo

Awesome Lists containing this project

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