A simple program that executes commands Shell (i.e. .sh or .bat) in java for run docker commands and outputs the console results.
Show the Docker version information
> docker version
List all containers
> docker ps
List all images
> docker images
Remove one or more containers
> docker rm $(docker ps -a -q)
Remove one or more images
> docker rmi $(docker images -q)
Remove all images and containers (forceability)
> docker rmi $(docker images -q) --force
Build an image from a Dockerfile
> docker build -t name:v1.0 .Dockerfile
You can find the complete list commandline following this reference: https://docs.docker.com/engine/reference/commandline/docker/
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>4.6</version>
</dependency>
This project involve a git cloner, which read a list of Github repository and fetch automatically them in pipeline using a Jgit java library imported with maven in the dependencies of pom.xml file. Each repository contains a docker image with its dockerfile 🐳 🐙.