Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hatamiarash7/docker-downloader
Download Docker images manually
https://github.com/hatamiarash7/docker-downloader
docker docker-image docker-images
Last synced: 16 days ago
JSON representation
Download Docker images manually
- Host: GitHub
- URL: https://github.com/hatamiarash7/docker-downloader
- Owner: hatamiarash7
- License: gpl-3.0
- Created: 2020-03-09T18:14:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:57:43.000Z (11 months ago)
- Last Synced: 2024-10-03T18:22:33.276Z (about 1 month ago)
- Topics: docker, docker-image, docker-images
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 21
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker image downloader
There is 2 scripts for interacting with Docker Hub without needing the Docker client itself.
It interacts with the Docker registry [HTTPS API v2](https://docs.docker.com/registry/spec/api/).
---
## Python version
Examples :
```bash
python pull.py :python pull.py hello-world
python pull.py prom/prometheus:v2.19.2
python pull.py mcr.microsoft.com/mssql-tools
```### Limitations
- Only support v2 manifests. Some registries ( like [quay.io](https://quay.io) ) which only uses v1 manifests, may not work.
- Some big images may fail to unzip during the extract process---
## Bash version
This script has not above limits. But you **can't** run this on windows
```bash
./pull.sh :./pull.sh prometheus prom/prometheus:v2.19.2
./pull.sh mysql-5.7 mysql:5.7
```---
## Load image
You can load images using `docker load` like this :
```bash
docker load -i .tar
```
---## Support
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D1WGU9)
## Contributing
1. Fork it !
2. Create your feature branch : `git checkout -b my-new-feature`
3. Commit your changes : `git commit -am 'Add some feature'`
4. Push to the branch : `git push origin my-new-feature`
5. Submit a pull request :D## Issues
Each project may have many problems. Contributing to the better development of this project by reporting them.