APP CONTAINERS Flashcards
What is a container in the context of application development?
A container is a logical application isolation boundary where everything needed for the application to function is present.
OR
A container is a runtime instance of an image.
Can a container hold an entire application or just a single app component?
A container can hold either an entire application or a single app component.
How are larger, complex applications typically managed in terms of containers?
Larger, complex applications are usually divided into multiple application containers that work together and exchange data either through the file system level or over the network.
What operating systems can serve as a host for running containerized applications?
The host operating system can be macOS, Linux, or Windows.
Which tools can be used to run containerized applications?
Containerized applications can be run through containerd or the Docker engine
What makes containers portable across different environments?
The inclusion of all necessary binaries and libraries within the application container makes it portable across different environments.
What do we install on our host operating system to manage containers?
e install a container runtime, such as the Docker engine, which provides command-line tools to manage containers.
What is a microservice in the context of application development?
microservice is a focused app functionality, such as an app that deals with logging or the upload portion of a website.
How can a single microservice be deployed?
A single microservice can be deployed as one app container.
What is app component decoupling through messaging queues?
App component decoupling through messaging queues involves components communicating indirectly through a messaging queue, instead of calling each other directly.
What is the main advantage of using messaging queues for communication between microservices?
The main advantage is Asynchronous Communication: The sender can continue doing its work after placing the message, and the receiver can process the message whenever it’s available.
What are running containers based on?
Running containers are based on container images.
Where can container images be stored?
Container images can be stored locally, in a private repository, or in a public repository like Docker Hub.
What is an example of what a container image might include?
An example of what a container image might include is a Linux environment with some utilities.
What are some of the contents that an application container could include?
An application container could include scripts, binaries, container file system, app-specific libraries, software components (e.g., Java component for a small web server stack), runtime environment (Linux, Python, web server), configuration files, and software tools.