This is a Maven plugin for managing Docker images and containers for your builds. The current version is 0.13.6 and works with Maven 3.2.1 and Docker 1.6.0 or later.
The current Docker API version used is v1.17
(which is the minimal required API version). If you want to use the
copy mode for docker:watch
you need v1.20
or greater (Docker 1.8.1). See the User Manual
for details on how to override this value for new
versions of Docker. For older Docker version please use 0.12.0 with support for v1.15
(Docker 1.3.0) or 0.10.5 which supports v1.10
as minimal API version.
Goal | Description |
---|---|
docker:start |
Create and start containers |
docker:stop |
Stop and destroy containers |
docker:build |
Build images |
docker:watch |
Watch for doing rebuilds and restarts |
docker:push |
Push images to a registry |
docker:remove |
Remove images from local docker host |
docker:logs |
Show container logs |
- The User Manual has a detailed reference for all and everything.
- The Introduction is a high level overview of this plugin's features and provides an usage example. provided goals and possible configuration parameters.
- Examples are below
samples/
and contain example setups which you can use as blueprints for your own projects. - ChangeLog has the release history of this plugin.
- Contributing explains how you can contribute to this project. Pull requests are highly appreciated!