我想在我的pom.xml文件中包含一些位以保存構建好的docker鏡像,這就是我在fabric8 docker mvn插件中放置的部分。使用maven fabric8插件保存docker鏡像
<execution>
<id>save</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
,我還包括該物業像所示fabric8 DOC
<properties>
<docker.save.alias>image</docker.save.alias>
</properties>
但是當我做MVN包我沒有看到任何image.tar。還有可能在另一個檔案中打包其他帶有圖像焦油的文件嗎?
什麼tar文件,你期待?可以導入泊塢窗焦油圖像或罐子+ Dockerfile的焦油可以在外部構建爲image? –
docker tar image,如果可能的話包含tar的tar以及proj的一些資源等。 – user2133558