Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdub/docker-shaball
Tar up your Docker images
https://github.com/mdub/docker-shaball
Last synced: about 2 months ago
JSON representation
Tar up your Docker images
- Host: GitHub
- URL: https://github.com/mdub/docker-shaball
- Owner: mdub
- Created: 2015-06-02T02:00:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-16T09:42:41.000Z (over 8 years ago)
- Last Synced: 2024-04-24T22:01:22.892Z (8 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-shaball
This little script helps you bundle up a bunch of Docker images for
distribution e.g. to S3.Sample usage:
```shell
$ docker-shaball nginx:1.9 ruby:2.2
f5fe78d69d93b719109341295a024b62c84ebc28.tar.gz
```The named images are exported from your local Docker daemon using `docker save`, and saved as a `CHECKSUM.tar.gz` archive. The archive file-name includes a checksum of a "manifest" formed using the named Docker images and the corresponding IDs. Specify the `--manifest` flag to see the manifest:
```shell
$ docker-shaball --manifest nginx:1.9 ruby:2.2
nginx:1.9 72d73c46937aaf8ca1efe566cac0564a05a0f1aeaef770658c8201726cfff50b
ruby:2.2 9372b27f3abf65e96955894809adf406afad67f1208eaa7600b9bf2898c09c51
```