在(fabric8io)中使用compose docker-maven-plugin停用图像构build

我有一个maven项目来build立一个运行良好的图像,它看起来像:

<plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>${docker-maven-plugin.version}</version> <configuration> <showLogs>true</showLogs> <images> <image> <name>${docker.image.name}</name> <alias>${project.artifactId}-${timestamp}</alias> <build> <dockerFile>${docker.dockerfile}</dockerFile> </build> 

我想使用docker-compose从这个图像运行一个容器,所以我正好在前面的代码片段下面添加:

  <external> <type>compose</type> <basedir>src/main/docker</basedir> <composeFile>docker-compose.yml</composeFile> </external> 

然后,当我跑,图像不是build立了:

 [INFO] --- docker-maven-plugin:0.20.0:build (build-image) @ my-component --- [INFO] [INFO] --- docker-maven-plugin:0.20.0:stop (build-image) @ my-component --- [INFO] [INFO] --- docker-maven-plugin:0.20.0:start (run-image) @ my-component --- [INFO] DOCKER> Pulling repository toto.com/mu-repo/my-component [ERROR] DOCKER> Error occurred during container startup, shutting down... [ERROR] DOCKER> I/O Error 

错误是该图像本地不存在。
我阅读文档 ,“外部”的预期行为是不是很清楚,但我没有看到任何暗示图像构build停用。

有没有人面临同样的问题,有谁知道正确的设置,或者如果我不使用插件的方式?