• Lukas Wiest's avatar
    feat(util): added Docker Util · eebb44ce
    Lukas Wiest authored
    this component initializes an DockerClient on startup,
    then provides a method to run an container with an given image String
    and n given Bind-mounts.
    This method waits for this container to finish before returning,
    so don't call any services that should just be started and left alone!
    
    For this the library github-java-docker is used:
    https://github.com/docker-java/docker-java
    
    For this to work, the container this is run in obviously needs
    access to the docker socket
    eebb44ce