Simplified explanation based on my understanding of the images and containers.
Docker Image -
Is a package consisting of the File System Snapshot and Start-Up Command.
Docker Container -
Is a process or group of processes with a set of hardware and software resources required to process them.
The resources required can be something like a Kernel, System Process, RAM, HDD, CPU, Installed application.
Eg:
Process can be a simple shell script invoking a java class, which will invoke the class file stored on HDD through JVM installed on the same HDD.
Docker Image -
Is a package consisting of the File System Snapshot and Start-Up Command.
Docker Container -
Is a process or group of processes with a set of hardware and software resources required to process them.
The resources required can be something like a Kernel, System Process, RAM, HDD, CPU, Installed application.
Eg:
Process can be a simple shell script invoking a java class, which will invoke the class file stored on HDD through JVM installed on the same HDD.
No comments:
Post a Comment