I want to calculate actual time taken by docker to start , stop a container

I have installed docker on my ubuntu 14.04 machine and able to perform operation like start stop commit on container . but i am not able to find any mechanism to calculate actual time taken by docker to perform all operation.
please help me to provide solution to calculate actual time in docker

  • How to pass -mem to dockerized Play application
  • Firewall rules for Docker Hub access
  • Docker Mac, containers unable to VPN servers
  • trying to start an image in docker
  • How long will kube-controller-manager migrate one pod from a shutdown node to another health node
  • Docker Rails App and postgres
  • docker-compose: how to map few ip to few containers
  • Deploy Docker environment on Elastic Beanstalk
  • How to remove port from docker container?
  • docker-compose error Unicode-objects must be encoded before hashing
  • Docker as the effective Rails development environment
  • Invoke docker container from Jenkins pipeline which is also running as docker container on Windows for docker (for Windows 10)
  • One Solution collect form web for “I want to calculate actual time taken by docker to start , stop a container”

    Try simply using:

    time {command}


    > time docker run busybox echo
    real    0m0.344s
    user    0m0.003s
    sys     0m0.005s
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.