public interface RemoveImageCmd extends SyncDockerCmd<Void>
Modifier and Type | Interface and Description |
---|---|
static interface |
RemoveImageCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getImageId() |
boolean |
hasForceEnabled() |
boolean |
hasNoPruneEnabled() |
RemoveImageCmd |
withForce()
force delete of an image, even if it's tagged in multiple repositories
|
RemoveImageCmd |
withForce(boolean force)
force parameter to force delete of an image, even if it's tagged in multiple repositories
|
RemoveImageCmd |
withImageId(String imageId) |
RemoveImageCmd |
withNoPrune()
prevent the deletion of parent images
|
RemoveImageCmd |
withNoPrune(boolean noPrune)
noprune parameter to prevent the deletion of parent images
|
String getImageId()
boolean hasForceEnabled()
boolean hasNoPruneEnabled()
RemoveImageCmd withImageId(String imageId)
RemoveImageCmd withForce()
RemoveImageCmd withForce(boolean force)
RemoveImageCmd withNoPrune()
RemoveImageCmd withNoPrune(boolean noPrune)
Void exec() throws NotFoundException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such imageCopyright © 2016. All Rights Reserved.