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
- Host: GitHub
- URL: https://github.com/shimohq/docker-tools
- Owner: shimohq
- License: mit
- Created: 2017-05-15T08:49:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T07:56:09.000Z (about 8 years ago)
- Last Synced: 2025-03-21T12:07:45.484Z (7 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 4
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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