Containers
A detailed discussion on the working of Docker and Docker containers.
What is a Docker container?
Docker containers can be understood as running instances of Docker images. Any number of containers can be launched using a single Docker image. Suppose we launched four containers using four different images:
- Container 1: VLC software installed
- Container 2: Python installed
- Container 3: Java installed
- Container 4: Firefox installed
The advantages we have while launching different containers for different uses are as follows:
- Each software in each container is isolated. If a bug exists in Firefox, then the damage will be confined to container 4, and other containers won’t be affected.
- Different containers have their own RAM and CPU.