O'Reilly logo

Docker and Kubernetes for Java Developers by Jaroslaw Krochmalski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Plugin configuration

The plugin uses the configuration from the <run> sub-element of the <configuration> in the pom.xml file. The list of the most important configuration elements is as follows:

cmd

Command which should be executed at the end of the container's startup. If not given, the image's default command is used.

entrypoint

Entry point for the container.

log

Log configuration for whether and how log messages from the running containers should be printed. This can also configure the log driver to use.

memory

Memory limit in bytes

namingStrategy

Naming strategy for how the container name is created:

  • none: Uses randomly assigned names from Docker (default)
  • alias : Uses the alias specified in the image configuration. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required