rm

boxfuseRm

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

Usage: gradle boxfuseRm -Dboxfuse.image=image

Removing a single image:

> gradle boxfuseRm -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:

> gradle boxfuseRm -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

Class name

com.boxfuse.client.gradle.task.RmTask

Properties

Plugin Parameter Gradle/System property Default Description
user boxfuse.user Required - Your CloudCaptain Client user. Also configurable via the BOXFUSE_USER environment variable
secret boxfuse.secret Required - Your CloudCaptain Client secret. Also configurable via the BOXFUSE_SECRET environment variable
image boxfuse.image The Image to use
vault boxfuse.vault false Removes the Image from the CloudCaptain Vault instead of your local machine. All corresponding AMIs will be removed as well.

Sample Configuration

boxfuse {
    user='1234567890abcdef1234567890abcdef12345678'
    secret='ABCDEFGHIJKL1234567abcdefghijklmnopqrstu'
    image='myapp:123'
    vault=true
}

run