Class PushImageCommand


  • public class PushImageCommand
    extends DockerCommand
    This command pulls Docker image from a repository.
    See Also:
    Docker push
    • Constructor Detail

      • PushImageCommand

        public PushImageCommand​(String image,
                                String tag,
                                String registry)
    • Method Detail

      • getImage

        public String getImage()
      • getTag

        public String getTag()
      • getRegistry

        public String getRegistry()
      • execute

        public void execute()
                     throws com.github.dockerjava.api.exception.DockerException
        Specified by:
        execute in class DockerCommand
        Throws:
        com.github.dockerjava.api.exception.DockerException