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

  • Spin down unused Dokku containers (and spin them up upon access)
  • For dummies approach to build image and run own code on Docker
  • Read cgroups data without mounting it
  • Docker for windows container is not starting with -m 4g but works fine with -m 3g
  • Docker running inside vagrant + remote python debugging in Pycharm
  • nginx not accessible outside of Docker container
  • Kubernetes failed to setup network for pod after executed kubeadm reset
  • Auto reconnect to RabbitMQ cluster after server restart
  • Can a dockerfile make use of a data only container defined in the docker-compose.yml file?
  • Docker containers handling more load
  • Docker Image for creating a windows virt and download files to it
  • “Error: spawn mongoexport ENOENT” when running dockerized node app
  • 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}
    

    Example:

    > 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.