public function inspect(?string $id, bool $size = false)
    {
        $url = self::$base_url.'/'.($id ?? $this->container_id).'/json?'.http_build_query(compact('size'));

        return self::$curl->get($url);
    }
public function inspect(?string $id, bool $size = false)
    {
        $url = self::$base_url.'/'.($id ?? $this->container_id).'/json?'.http_build_query(compact('size'));

        return self::$curl->get($url);
    }
public function inspect ( ? string $ id , bool $ size = false ) { $ url = self :: $ base_url . '/' . ( $ id ?? $ this -> container_id ) . '/json?' . http_build_query ( compact ( 'size' ) ) ; return self :: $ curl -> get ( $ url ) ; }
Inspect a container.

Return low-level information about a container.

@param string|null $id
@param bool        $size

@return mixed 200

@throws Exception
Inspect a container .