@mostafamohamed18/docker-image-downloader
v1.0.1
Published
A modern web application to download Docker images directly from Docker Hub and Chainguard registries without needing Docker installed.
Maintainers
Readme
Docker Image Downloader
A modern web application to download Docker images directly from Docker Hub without needing Docker installed. The app downloads the image as a .tar file compatible with docker load.
Prerequisites
- Node.js (v14 or higher)
Installation
- Install the package:
npm i @mostafamohamed18/docker-image-downloader
Usage
Run the package:
node -e "require('@mostafamohamed18/docker-image-downloader')"Open your browser and go to: http://localhost:3000
Choose a registry (Docker Hub or Chainguard (cgr.dev)).
Enter an image name and click Check Tags.
- Docker Hub examples:
nginx,redis,library/ubuntu - cgr.dev examples:
chainguard/tomcatorcgr.dev/chainguard/tomcat
- Docker Hub examples:
Select a version from the dropdown.
Click Download Image.
Once downloaded, you can load the image on any machine with Docker:
docker load -i <filename>.tar
Troubleshooting
- Large Images: Downloading very large images (>2GB) might be slow or hit timeout limits depending on your connection.
- Rate Limits: Docker Hub has rate limits for anonymous pulls. If you encounter errors, retry later.
