com.github.dockerjava.client.command
Class PushImageCmd
java.lang.Object
com.github.dockerjava.client.command.AbstrDockerCmd<T,RES_T>
com.github.dockerjava.client.command.AbstrAuthCfgDockerCmd<PushImageCmd,com.sun.jersey.api.client.ClientResponse>
com.github.dockerjava.client.command.PushImageCmd
- All Implemented Interfaces:
- DockerCmd<com.sun.jersey.api.client.ClientResponse>
public class PushImageCmd
- extends AbstrAuthCfgDockerCmd<PushImageCmd,com.sun.jersey.api.client.ClientResponse>
Push the latest image to the repository.
PushImageCmd
public PushImageCmd(String name)
getName
public String getName()
withName
public PushImageCmd withName(String name)
- Parameters:
name
- The name, e.g. "alexec/busybox" or just "busybox" if you want to default. Not null.
toString
public String toString()
- Overrides:
toString
in class Object
impl
protected com.sun.jersey.api.client.ClientResponse impl()
Copyright © 2014. All rights reserved.