💾 Archived View for freeshell.de › tldr › docker-inspect.gmi captured on 2023-07-10 at 14:23:43. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

docker inspect

Return low-level information on Docker objects.

More information.

docker inspect
docker inspect {container|image|ID}
docker inspect --format='{range .NetworkSettings.Networks}{.IPAddress}{end}' {container}
docker inspect --format='{.LogPath}' {container}
docker inspect --format='{.Config.Image}' {container}
docker inspect --format='{json .Config}' {container}
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