rm

boxfuse:rm

Removes this Image from your machine or the Boxfuse Vault. When removing an image from the Boxfuse Vault all corresponding AMIs are removed as well.

Usage: mvn boxfuse:rm -Dboxfuse.image=image

Removing a single image:

> mvn boxfuse:rm -Dboxfuse.image=hello:1.0

Destroying Image axelfontaine/hello:1.0 ...
axelfontaine/hello:1.0 destroyed in 00:00.000s

Removing all images of an app:

> mvn boxfuse:rm -Dboxfuse.app=hello

Removing all locally available Images of axelfontaine/hello ...
Removing Image axelfontaine/hello:0.5 ...
Removing Image axelfontaine/hello:1.0 ...
All locally available Images of axelfontaine/hello removed in 00:00.001s

Properties

Plugin Parameter Maven/System property Default Description
user boxfuse.user Required - Your Boxfuse Client user. Also configurable via the BOXFUSE_USER environment variable or the Maven settings.xml
secret boxfuse.secret Required - Your Boxfuse Client secret. Also configurable via the BOXFUSE_SECRET environment variable or the Maven settings.xml
serverid boxfuse.serverid boxfuse The id of the server in the Maven settings.xml file to load the credentials from.

This is an alternative to passing the credentials in directly through properties.
image boxfuse.image The Image to use
vault boxfuse.vault false Removes the Image from the Boxfuse Vault instead of your local machine. All corresponding AMIs will be removed as well.

Sample Configuration

<configuration>
    <user>1234567890abcdef1234567890abcdef12345678</user>
    <secret>ABCDEFGHIJKL1234567abcdefghijklmnopqrstu</secret>
    <image>hello:1.0</image>
    <vault>true</vault>
</configuration>

run