How do I display the config info on a docker container?
-
To display the configuration information on a docker container. It display a lot of output.
$ docker inspect tomcat
You can narrow down the output by selecting what you need via the --format option.
$ docker inspect --format='{{.State.Pid}}' tomcat8 16444
© Lightnetics 2024