Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

docker image downloader with docker http api

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
license-header-template.txt
Notifications You must be signed in to change notification settings

KuuDS/docker-image-downloader

Repository files navigation

docker-image-downloader project

Build Status

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./mvnw quarkus:dev

Packaging and running the application

The application can be packaged using ./mvnw package. It produces the docker-image-downloader-1.0-SNAPSHOT-runner.jar file in the /target directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/lib directory.

The application is now runnable using java -jar target/docker-image-downloader-1.0-SNAPSHOT-runner.jar.

Build as NATIVE execution

./mvnw clean package -Pnative

Build as NATIVE container image

./mvnw clean package -Pnative,docker

Docker Image Downloader

Index: /index.html. Query: /query.html.

Tips

Set environment argument DOCKER_HOST with tcp://docker_host:2375.

Docker Example

#/usr/bin/env bash
docker kill docker_image_downloader
docker rm docker_image_downloader
mvn clean package docker:build
docker run -d -p 8080:8080 --name docker_image_downloader \
  -e JAVA_OPTS="-Xmx512m -Xmn128m -XX:+UseG1GC -XX:maxDirectMemorySize=512m"
  -e FETCH_WITH_HTTPS=false \
  -e DEFAULT_REGISTRY=register:5000 \
  -e REGISTRY_PREFIXES=/ \
  -e DOCKER_HOST=tcp://docker:2375 \
  docker-image-downloader:latest

Use Docker-Compose

docker-compose up -d

About

docker image downloader with docker http api

Resources

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
license-header-template.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published