I have a docker image installed and I\'d like to check what is its CMD command. Is there any cli command to do so? for example, I\'d like it to tell me that this docker image CM
You can use the docker inspect command
docker inspect --format='{{.Config.Cmd}}' docker inspect -f '{{.Config.Cmd}}'
That is used, for instance, to "list full command of running/stopped container in Docker".