How is Docker different from a normal virtual machine?

Azharmrd
edited July 15, 2021 in TeamSite #1

I keep rereading the Docker documentation to try to understand the difference between Docker and a full VM. How does it manage to provide a full filesystem, isolated networking environment, etc. without being as heavy?

Why is deploying software to a docker image (if that's the right term) easier than simply deploying to a consistent production environment?

Answers

  • Can you help answer this question?

    We have noticed this question is over 30 days old and hasn't received a response. We're turning to you, the community, to help answer it.

    This generic response is intended to prompt discussion in this post. The question remains open to your answers, suggestions, and best practices.

    If you posted this question, what additional information can you provide to help us respond to you? Were able to resolve the issue? Please share your solution here with others. If you still need additional help, though, please let us know. Your question and its resolution are important to us, and we want to help.

    • Please note that questions to the developer network are typically peer-to-peer, best effort responses.
    • Additionally, note that posting questions to General may not be answered by a product expert. The General forum is for non-product questions. Please be sure to post your product-specific questions to the proper product forum.

    David Sciuto

  • hi,

    VM have full OS virtual machine, and Docker is shared OS and library, much lighter., you can refer to attached diagram for Docker_VM.

    Docker is an open platform for developers to build, ship, and run distributed applications.
    Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments.
    As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.

    Tony

    Tony Qiu
    Opentext ECD - SME

  • When you consider more traditional architectures, the Hypervisor plays the role of the hardware ( ie: the Operating system supplies services for the application layers and it terminates in calls to the hardware layer on the machine) while Docker plays the role of the application server.

  • Docker is container based technology and containers are just user space of the operating system.In Docker Training, the containers running share the host OS kernel. A Virtual Machine for Docker Tutorial Videos, on the other hand, is not based on container technology. They are made up of user space plus kernel space of an operating system.

  • Docker is container based technology and containers are just user space of the operating system.In Docker Training, the containers running share the host OS kernel. A Virtual Machine for Docker Tutorial Videos, on the other hand, is not based on container technology. They are made up of user space plus kernel space of an operating system.

TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs