https://github.com/freemankevin/imageexporter
https://github.com/freemankevin/imageexporter
docker docker-image offline
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/freemankevin/imageexporter
- Owner: freemankevin
- License: mit
- Created: 2025-01-02T09:55:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-06T08:28:15.000Z (about 1 year ago)
- Last Synced: 2025-06-26T02:42:01.386Z (about 1 year ago)
- Topics: docker, docker-image, offline
- Language: Python
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImageExporter ๐ณ
A specialized tool for offline Docker image management and deployment. ๐ข
## Supported Software ๐ฆ
| Middleware | Image Repository |
| ------------------ | ----------------------------------------- |
| Elasticsearch | docker.io/library/elasticsearch |
| Nginx | docker.io/library/nginx |
| Redis | docker.io/library/redis |
| RabbitMQ | docker.io/library/rabbitmq |
| MinIO | docker.io/minio/minio |
| Nacos | docker.io/nacos/nacos-server |
| GeoServer | docker.io/kartoza/geoserver |
| PostgreSQL-PostGIS | docker.io/freelabspace/postgresql-postgis |
## Structure ๐๏ธ
```
ImageExporter/
โโโ data/
โ โโโ versions/ # Version info (e.g., latest-YYYYMMDD.txt, update-YYYYMMDD.txt) ๐
โ โโโ images/ # Exported images ๐๏ธ
โโโ logs/ # Log files ๐
โโโ main.py # Main script ๐
```
## Usage ๐ ๏ธ
1. Place historical version files in `data/versions` (optional, e.g., `latest-YYYYMMDD.txt`). ๐ฅ
2. Run the tool to check for updates and export images:
```bash
python main.py # Normal mode ๐
python main.py -D # Debug mode ๐
```
3. Check the generated version files (`latest-YYYYMMDD.txt` for all versions, `update-YYYYMMDD.txt` for updates needed) in `data/versions`. ๐
## Cleanup ๐งน
```bash
python main.py --clean # Clean Python cache files ๐๏ธ
python main.py --clean-all # Clean all temporary files (cache, images, logs, today's versions) ๐๏ธ๐ฅ
```