Cluster Computing

, Volume 22, Supplement 1, pp 1765–1775 | Cite as

A performance comparison of linux containers and virtual machines using Docker and KVM

  • MinSu Chae
  • HwaMin LeeEmail author
  • Kiyeol Lee


Virtualization is a foundational element of cloud computing. Since cloud computing is slower than a native system, this study analyzes ways to improve performance. We compared the performance of Docker and Kernel-based virtual machine (KVM). KVM uses full virtualization, including \(\times \)86 hardware virtualization extensions. Docker is a solution provided by isolation in userspace instead of creating a virtual machine. The performance of KVM and Docker was compared in three ways. These comparisons show that Docker is faster than KVM.


Docker KVM Container Virtual machine Performance comparison 



This work was supported by the National Research Foundation of Korea (NRF) Grant funded by the Korea government (Ministry of Science and ICT) (No. NRF-2017R1A2B4010570) and the Soonchunhyang University Research Fund.

Compliance with Ethical Standards

Conflict of interest

The authors declare that there is no conflictof interests regarding the publication of this paper.

Ethical Approval

This article does not contain any studies with human participants or animals performed by any of the authors.


  1. 1.
    Armbrust, M., Fox, A., Griffith, R., Joseph, A.D., Katz, R., Konwinski, A., Zaharia, M.: A view of cloud computing. Commun. ACM 53(4), 50–58 (2010)CrossRefGoogle Scholar
  2. 2.
    Joy, A.M.: Performance comparison between linux containers and virtual machines. In: 2015 International Conference on Advances in Computer Engineering and Applications (ICACEA), pp. 342–346. IEEE (2015)Google Scholar
  3. 3.
    Elsayed, A., & Abdelbaki, N.: Performance evaluation and comparison of the top market virtualization hypervisors. In: 2013 8th International Conference on Computer Engineering & Systems (ICCES), pp. 45–50. IEEE (2013)Google Scholar
  4. 4.
    Varrette, S., Guzek, M., Plugaru, V., Besseron, X., & Bouvry, P.: HPC performance and energy-efficiency of Xen, KVM and Vmware hypervisors. In: 2013 25th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD), pp. 89–96. IEEE (2013)Google Scholar
  5. 5.
    Lee, H.M., Jeong, Y.S., Jang, H.J.: Performance analysis based resource allocation for green cloud computing. J. Supercomput. 69(3), 1013–1026 (2014)CrossRefGoogle Scholar
  6. 6.
    Bernstein, D.: Containers and cloud: from LXC to docker to kubernetes. IEEE Cloud Comput. 1(3), 81–84 (2014)CrossRefGoogle Scholar
  7. 7.
    Felter, W., Ferreira, A., Rajamony, R., & Rubio, J.: An updated performance comparison of virtual machines and linux containers. In: 2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), pp. 171–172. IEEE (2015)Google Scholar
  8. 8.
    Desai, P.R.: A Survey of Performance Comparison between Virtual Machines and Containers. (2016).
  9. 9.
    Seo, K.T., Hwang, H.S., Moon, I.Y., Kwon, O.Y., Kim, B.J.: Performance comparison analysis of linux container and virtual machine for building cloud. Adv. Sci. Technol. Lett. 66(105–111), 2 (2014)Google Scholar
  10. 10.
    Morabito, R., Kjällman, J., & Komu, M.: Hypervisors vs. lightweight virtualization: a performance comparison. In: 2015 IEEE International Conference on Cloud Engineering (IC2E), pp. 386–393. IEEE (2015)Google Scholar
  11. 11.
    Raho, M., Spyridakis, A., Paolino, M., & Raho, D.: Kvm, xen and docker: a performance analysis for arm based nfv and cloud computing. In: 2015 IEEE 3rd Workshop on Advances in Information, Electronic and Electrical Engineering (AIEEE), pp. 1–8. IEEE (2015)Google Scholar
  12. 12.
    Kozhirbayev, Z., Sinnott, R.O.: A performance comparison of container-based technologies for the cloud. Future Gener. Comput. Syst. 68, 175–182 (2017)CrossRefGoogle Scholar
  13. 13.
    Merkel, D.: Docker: lightweight linux containers for consistent development and deployment. Linux J. 2014(239), 2 (2014)Google Scholar
  14. 14.
    VMware.: A performance comparison of hypervisors VMware. White Pap. Feb. 1, 1–22 (2007)Google Scholar
  15. 15.
    Morabito, R.: A Performance Evaluation of Container Technologies on Internet of Things Devices. In: 2016 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), pp. 999–1000. IEEE (2016)Google Scholar
  16. 16.
    Barham, P., Dragovic, B., Fraser, K., Hand, S., Harris, T., Ho, A., ... & Warfield, A.: Xen and the art of virtualization. ACM SIGOPS Oper. Syst. Rev. 37(5), 164–177 (2003)Google Scholar
  17. 17.
    Chowdhury, N.M.K., Boutaba, R.: A survey of network virtualization. Comput. Netw. 54(5), 862–876 (2010)CrossRefzbMATHGoogle Scholar
  18. 18.
    García-Valls, M., Cucinotta, T., Lu, C.: Challenges in real-time virtualization and predictable cloud computing. J. Syst. Arch. 60(9), 726–740 (2014)CrossRefGoogle Scholar
  19. 19.
    Fink, J.: Docker: a software as a service, operating system-level virtualization framework. Code4Lib J. 25, 31 (2014)Google Scholar
  20. 20.
    Kivity, A., Kamay, Y., Laor, D., Lublin, U., & Liguori, A.: Kvm: the Linux virtual machine monitor. In: Proceedings of the Linux symposium, vol. 1, pp. 225–230 (2007)Google Scholar
  21. 21.
    Zhang, B., Wang, X., Lai, R., Yang, L., Wang, Z., Luo, Y., & Li, X.: Evaluating and optimizing I/O virtualization in kernel-based virtual machine (KVM). In: IFIP International Conference on Network and Parallel Computing, pp. 220–231. Springer, Berlin (2010)Google Scholar
  22. 22.
    Dua, R., Raja, A.R., & Kakadia, D.: Virtualization vs containerization to support PaaS. In: 2014 IEEE International Conference on Cloud Engineering (IC2E), pp. 610–614. IEEE (2014)Google Scholar
  23. 23. Accessed on 04 June (2017)
  24. 24. Accessed on 04 June (2017)
  25. 25. Accessed on 04 June (2017)

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2017

Authors and Affiliations

  1. 1.Department of Computer Software EngineeringSoonchunhyang UniversityAsanSouth Korea
  2. 2.Department of Civil Engineering & Landscape ArchitecturesSuncheon Jeil CollegeSuncheonSouth Korea

Personalised recommendations