Introduction to the Gradle Docker Plugin
masterThe Gradle Docker plugin allows you to manage Docker images and containers via the Docker remote API. It leverages the docker-java library to handle the communication logic between the Docker client and the daemon.
Key Benefits:
- Seamless integration with Gradle's DSL.
- Simplifies complex Docker workflows.
- Provides sensible conventions to minimize build script setup.
Limitations:
- Not all Docker operations are exposed; some task types may not provide every possible option available in the underlying API.
- No Docker Compose support: This plugin does not support building multi-container applications via Docker Compose. For that, use the Avast Docker Compose plugin.
- No Swarm/Stack support: Managing Docker Swarm or Stacks is not supported.