An open API service indexing awesome lists of open source software.

https://github.com/freemankevin/imageexporter


https://github.com/freemankevin/imageexporter

docker docker-image offline

Last synced: 10 months ago
JSON representation

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) ๐Ÿ—‘๏ธ๐Ÿ”ฅ
```