public function imageTag($image, $repo, $tag = null, $force = false)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/images/{image}/tag{?repo,tag,force}',
                array(
                    'image' => $image,
                    'repo' => $repo,
                    'tag' => $tag,
                    'force' => $this->boolArg($force)
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function imageTag($image, $repo, $tag = null, $force = false)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/images/{image}/tag{?repo,tag,force}',
                array(
                    'image' => $image,
                    'repo' => $repo,
                    'tag' => $tag,
                    'force' => $this->boolArg($force)
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function imageTag ( $ image , $ repo , $ tag = null , $ force = false ) { return $ this -> browser -> post ( $ this -> uri -> expand ( '/images/{image}/tag{?repo,tag,force}' , array ( 'image' => $ image , 'repo' => $ repo , 'tag' => $ tag , 'force' => $ this -> boolArg ( $ force ) ) ) ) -> then ( array ( $ this -> parser , 'expectEmpty' ) ) ; }
Tag the image name into a repository

@param string      $image  image ID
@param string      $repo   The repository to tag in
@param string|null $tag    The new tag name
@param boolean     $force  1/True/true or 0/False/false, default false
@return PromiseInterface Promise<null>
@link https://docs.docker.com/reference/api/docker_remote_api_v1.15/#tag-an-image-into-a-repository
Tag the image name into a repository