使用compose in(fabric8io)docker maven插件禁用图像构建

使用compose in(fabric8io)docker maven插件禁用图像构建,maven,docker,Maven,Docker,我有一个maven项目来构建一个运行良好的映像,它看起来像: <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>${docker-maven-plugin.version}</version> &l

我有一个maven项目来构建一个运行良好的映像,它看起来像:

         <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>
错误是图像在本地不存在。
我阅读了,我不太清楚“外部”预期行为,但我没有看到任何暗示映像生成停用的内容。

是否有人面临同样的问题,是否有人知道正确的设置,或者是否我没有按照插件的预期方式使用该插件?

              <external>
                <type>compose</type>
                <basedir>src/main/docker</basedir>
                <composeFile>docker-compose.yml</composeFile>
              </external>
[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