March 2017
Beginner to intermediate
925 pages
18h 11m
English
While doing the debugging, automation, and so on, we will need the container configuration details. Docker provides the inspect command to get those easily.
Make sure the Docker daemon is running on the host and you can connect through the Docker client.
$ docker inspect [-f|--format="" CONTAINER|IMAGE [CONTAINER|IMAGE...]
$ ID='docker run -d -i fedora /bin/bash' $ docker inspect $ID [{ "Args": [], "Config": { "AttachStderr": false, "AttachStdin": false, "AttachStdout": false, "Cmd": [ "/bin/bash" ], ......... ......... }]
Docker will look into ...
Read now
Unlock full access