This is a Maven plugin for managing Docker images and containers from your builds.
This document describes the new configuration syntax for versions >= 0.10.0. For older version (i.e. 0.9.x) please refer to the old documentation. Migration to the new syntax is not difficult and described separately.
This plugin provides the following 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 |
The documenttion is splitted into several parts:
- The Introduction introduction has a highlevel overview of the functionality of this plugin and gives an example of its usage. The motivation and design goals are given there, too
- The User Manual is a detailed reference for all provided goals and the 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.
- ChangeLog contains the history for this plugin.