-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

docker inspect


> Return low-level information on Docker objects.

More information.


Show help:

docker inspect

Display information about a container, image, or volume using a name or ID:

docker inspect {container|image|ID}

Display a container's IP address:

docker inspect --format='{range .NetworkSettings.Networks}{.IPAddress}{end}' {container}

Display the path to the container's log file:

docker inspect --format='{.LogPath}' {container}

Display the image name of the container:

docker inspect --format='{.Config.Image}' {container}

Display the configuration information as JSON:

docker inspect --format='{json .Config}' {container}

Display all port bindings:

docker inspect --format='{range $p, $conf := .NetworkSettings.Ports} {$p} -> {(index $conf 0).HostPort} {end}' {container}


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 08:15:40 2024