-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Goal "start" is rebuilding the image #45
Comments
Ah - does this occur when you do start twice in a row? |
It occurs when i do just run mvn clean install with the following config. When i rerun it again it doesn't take the prebuild image it builds it again <plugin>
<groupId>com.alexecollins.docker</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>2.4.0</version>
<configuration>
<host>http://localhost:2375</host>
<cache>true</cache>
<removeIntermediateImages>false</removeIntermediateImages>
</configuration>
<executions>
<execution>
<id>start</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin> |
Hmmm - any chance you can provide the source code? |
The docker image i am trying to build? |
Basically, I don't know what the issue is, so I'd like to get more information to diagnose it. Perhaps the easiest thing would be to paste the command line output? |
It seems like it builds first time the image and its ok. It tags is as test/redis-cluster:3.0.0 but then when it gets to the start goal again it does:
I don't know where the 'null' comes from |
Should be fixed in 2.4.1. |
When "start" goal is run it's triggering the rebuild of the image even the image exists in the local images.
The text was updated successfully, but these errors were encountered: