Crates.io | docker-prefetch-image |
lib.rs | docker-prefetch-image |
version | 0.1.4 |
source | src |
created_at | 2023-12-04 16:57:07.677063 |
updated_at | 2023-12-05 16:41:52.789179 |
description | Pull Docker images to a Docker daemon via a configuration file |
homepage | |
repository | |
max_upload_size | |
id | 1057805 |
size | 82,132 |
Configuration-driven downloading/fetching of Docker images.
This can be used to ensure images are present on a host before a container needs to run.
Deployable via a Docker image.
Usage: docker-prefetch-image [OPTIONS]
Options:
-d, --docker-socket <DOCKER_SOCKET> [default: unix:///var/run/docker.sock]
-c, --config-file <CONFIG_FILE> [default: docker-prefetch-image.toml]
-l, --log-level <LOG_LEVEL> [default: DEBUG]
-h, --help Print help
docker-prefetch-image -c docker-prefect-image.toml.example
See example_job for an example of deploying in Nomad.