src/Containers.php
/**
     * Remove a container
     *
     * @param string $id    ID or name of the containe
     * @param bool   $v     Remove anonymous volumes associated with the container.
     * @param bool   $force If the container is running, kill it before removing it.
     * @param bool   $link  Remove the specified link associated with the container.
     * @return void
     * @throws DockerException
     * @throws \GuzzleHttp\Exception\GuzzleException
     * @noinspection PhpFullyQualifiedNameUsageInspection
     */
Remove a container
@param string $id    ID or name of the containe
@param bool   $v     Remove anonymous volumes associated with the container.
@param bool   $force If the container is running, kill it before removing it.
@param bool   $link  Remove the specified link associated with the container.
Remove a container @param string $id ID or name of the containe @param bool $v Remove anonymous volumes associated with the container . @param bool $force If the container is running kill it before removing it . @param bool $link Remove the specified link associated with the container .
public function remove(string $id, bool $v = false, bool $force = false, bool $link = false)
    {
        $response = $this->client->delete("/containers/{$id}", [
            'query' => [
                'force' => $force,
                'v'     => $v,
                'link'  => $link,
            ]
        ]);
        $this->handlerStatusCode($response, [204]);
    }
public function remove ( string $ id , bool $ v = false , bool $ force = false , bool $ link = false ) { $ response = $ this -> client -> delete ( " /containers/ { $ id } " , [ 'query' => [ 'force' => $ force , 'v' => $ v , 'link' => $ link , ] ] ) ; $ this -> handlerStatusCode ( $ response , [ 204 ] ) ; }
Remove a container
 @param string $id    ID or name of the containe
 @param bool   $v     Remove anonymous volumes associated with the container.
Remove a container @param string $id ID or name of the containe @param bool $v Remove anonymous volumes associated with the container .