Is there any way to find the time in milliseconds it takes for docker run/pull command to execute?
docker run -d -p 5000:8443 imagerepo\imagename:version
docker pull imagerepo\imagename:version
答案 0 :(得分:0)
You could just use time
:
$ time docker pull imagerepo\imagename:version
EDIT:
To answer the question in the comments, for windows, you can use powershell's Measure-Command
:
Measure-Command {start-process docker pull imagerepo\imagename:version -wait}