docker-maven-plugin
This is a Maven plugin for managing Docker images and containers for your builds. The current version ist 0.11.2 and works with Maven 3.2.1 and Docker 1.3.0 or later.
The current Docker API version used is v1.15
(which is the minimal required API version).
See the User Manual for details on how to override this value for new
versions of Docker. For older Docker version please use 0.10.5 which supports v1.10
as
minimal API version.
Goals
Goal | Description |
---|---|
docker:start |
Create and start containers |
docker:stop |
Stop and destroy containers |
docker:build |
Build images |
docker:push |
Push images to a registry |
docker:remove |
Remove images from local docker host |
docker:logs |
Show container logs |
Documentation
- The Introduction is a high level overview of this plugin's features and provides an usage example.
- The User Manual is a detailed reference for all provided goals and possible configuration parameters.
- Examples are below
samples/
and contain example setups which you can use as blueprints for your own projects. - Migration Guide for migration from pre-0.10.x versions. The old documentation for versions 0.9.x and less can be found here.
- ChangeLog has the release history of this plugin.
- Contributing explains how you can contribute to this project. Pull requests are highly appreciated!