Use `docker inspect`.
`docker inspect` dumps the full JSON state of a container —
its config, network settings, mounts. Pipe through `grep` or `jq` to
extract one field.
TASK
----
Run:
docker run -d --name web -p 80:80 nginx
docker inspect web
Pass when the output contains "IPAddress".
Sign in to save your code and track progress across devices.