Class TagImageCommand


  • public class TagImageCommand
    extends DockerCommand
    This command removes specified Docker image.
    See Also:
    Docker tag
    • Constructor Detail

      • TagImageCommand

        public TagImageCommand​(String image,
                               String repository,
                               String tag,
                               boolean ignoreIfNotFound,
                               boolean withForce)
    • Method Detail

      • getImage

        public String getImage()
      • getRepository

        public String getRepository()
      • getTag

        public String getTag()
      • getIgnoreIfNotFound

        public boolean getIgnoreIfNotFound()
      • getWithForce

        public boolean getWithForce()
      • execute

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