src/Images.php
/**
     * Inspect an image
     *
     * Return low-level information about an image.
     *
     * @param string $name Image name or id
     * @return array
     * @throws DockerException
     * @throws \GuzzleHttp\Exception\GuzzleException
     * @noinspection PhpFullyQualifiedNameUsageInspection
     */
Inspect an image
Return low-level information about an image.


Inspect an image Return low - level information about an image .
public function inspect(string $name): array
    {
        $name     = str_replace(':', '%3A', $name);
        $response = $this->client->get("/images/{$name}/json");
        $this->handlerStatusCode($response);
        return json_decode($response->getBody()->getContents(), true);
    }
public function inspect ( string $ name ) : array { $ name = str_replace ( ':' , '%3A' , $ name ) ; $ response = $ this -> client -> get ( " /images/ { $ name } /json " ) ; $ this -> handlerStatusCode ( $ response ) ; return json_decode ( $ response -> getBody ( ) -> getContents ( ) , true ) ; }
Inspect an image
 Return low-level information about an image.
Inspect an image Return low - level information about an image .