Docker Maven Plugin
At work, we use the
Docker-Maven-Plugin tool by fabric8io in order to build and run docker images using Maven poms. We encountered an issue where we wanted to apply some CPU limitations to the containers we created through the pom, but quickly discovered that the tool was not honoring the limitations we had specified. The reason was that we used a docker-compose file in order to run the containers, but the tool, instead of consuming the compose file and delegating it to the Docker daemon, would parse the entire file and run individual
docker run commands. Because the tool wasn’t set up to honor certain configuration options in the docker-compose, we made a pull request to rectify this.