summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-24 15:56:29 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-24 15:56:29 +0200
commit133d2e5e09fed97af43d3e7664aa4d2fe0323d8a (patch)
tree968fa778f4daa968eb4835d0883b99e1ab510358
parent8a97d0d25ce3d8af90c1f9e25a5418b0a68e2134 (diff)
List images on docker
List images on docker in order to know details about docker instance Issue-ID: CLAMP-150 Change-Id: Ibbc02b06980880480e676c7ca26d97a5e3deb6d0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
-rw-r--r--pom.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index cea95eb7..24c148a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -565,6 +565,42 @@
</resources>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <executions>
+ <execution>
+ <id>docker_info</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>docker</executable>
+ <arguments>
+ <argument>ps</argument>
+ <argument>--all</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>docker_info2</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>docker</executable>
+ <arguments>
+ <argument>images</argument>
+
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+
+ </plugin>
<!-- Scan Clamp code and generate the swagger.json file with all the APIs -->
<plugin>
<groupId>com.sebastian-daschner</groupId>