Measure execution time of docker container
问题 I have a docker image called my_image which launch a command and closes. When running the image in a container using command docker run --rm my_image , is it possible to measure the execution time of the container ? Edit : I need to see those timing information after container execution, thus I can't use time command. I somehow hoped to find some container execution history kept by docker even if --rm was used. But if it doesn't exist, then @tgogos' answer is suited. The goal is to compare