com.github.dockerjava.client.command
Class RemoveImageCmd

java.lang.Object
  extended by com.github.dockerjava.client.command.AbstrDockerCmd<RemoveImageCmd,Void>
      extended by 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.


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
RemoveImageCmd(String imageId)
           
 
Method Summary
protected  Void impl()
           
 RemoveImageCmd withForce(boolean force)
           
 RemoveImageCmd withImageId(String imageId)
           
 RemoveImageCmd withNoPrune(boolean noPrune)
           
 
Methods inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
exec, withBaseResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveImageCmd

public RemoveImageCmd(String imageId)
Method Detail

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.