在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):bibryam/docker-maven-plugin开源软件地址(OpenSource Url):https://github.com/bibryam/docker-maven-plugin开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):Maven plugin for DockerThis plugin allows managing multiple Docker containers from a maven build process. ###Prerequisites
Locally running docker with TCP sockets enabled:
On RHEL thats in
###Usage The start goal will create a container instance from an image and start it. If the image is not available locally, the plugin will pull the image from the internet. The stop goal will stop the container instances and remove them from the local registry. The image will remain on the local repository. If containers are not stopped explicitly using stop goal, the plugin by default will try to stop and delete all containers started from start goal. If you want to keep containers running after maven build has finished, use skipStop option to prevent stopping the containers. containerConfig option allows configuring container creation parameters. hostConfig option allows configuring container start parameters. ###Examples Here is the simplest example to start a container from publicly available "busybox" image and stop it at the end of the build:
Next is a complete example with all the possible configurations:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论