com.github.dockerjava.client.command
Class RemoveImageCmd
java.lang.Object
com.github.dockerjava.client.command.AbstrDockerCmd<RemoveImageCmd,Void>
com.github.dockerjava.client.command.RemoveImageCmd
- All Implemented Interfaces:
- DockerCmd<Void>
public class RemoveImageCmd
- extends AbstrDockerCmd<RemoveImageCmd,Void>
Remove an image, deleting any tags it might have.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveImageCmd
public RemoveImageCmd(String imageId)
withImageId
public RemoveImageCmd withImageId(String imageId)
withForce
public RemoveImageCmd withForce(boolean force)
withNoPrune
public RemoveImageCmd withNoPrune(boolean noPrune)
impl
protected Void impl()
throws DockerException
- Throws:
DockerException
Copyright © 2014. All rights reserved.