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(Boolean force)
force parameter to force delete of an image, even if it's tagged in multiple repositories
|
RemoveImageCmd |
withImageId(String imageId) |
RemoveImageCmd |
withNoPrune(Boolean noPrune)
noprune parameter to prevent the deletion of parent images
|
@CheckForNull String getImageId()
@CheckForNull Boolean hasForceEnabled()
@CheckForNull Boolean hasNoPruneEnabled()
RemoveImageCmd withImageId(@Nonnull String imageId)
RemoveImageCmd withForce(Boolean force)
RemoveImageCmd withNoPrune(Boolean noPrune)
Void exec() throws NotFoundException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such imageCopyright © 2021. All rights reserved.