-
Notifications
You must be signed in to change notification settings - Fork 634
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
Can't clean all dangling images. #1729
Comments
@lin-mt : Do you get some error while plugin is building image? Default behavior is to try cleaning up dangling images. Have you specified |
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.43.4</version>
<configuration>
<images>
<image>
<name>docker-application:${project.version}</name>
<build>
<dockerFileDir>${project.basedir}</dockerFileDir>
</build>
</image>
<image>
<name>docker-application:latest</name>
<build>
<dockerFileDir>${project.basedir}</dockerFileDir>
</build>
</image>
</images>
</configuration>
</plugin> |
This is log.
It doesn't seem to remove dangling image with the latest tag. |
Description
if
Dockerfile
like this, after rundocker:build
, it can't auto clean all dangling iamges.Info
mvn -v
) :docker -v
:The text was updated successfully, but these errors were encountered: