m Docker containers
Key Points
- Docker is the most common container solution
- Docker has open-sourced basic Docker container and Docker-Compose to run multiple Docker containers
- Docker Enterprise provides more management features at a price and competes against Kubernetes and other orchestration frameworks
- Linux Foundation has Kubernetes, a platform-independent orchestration manager, to manage and run containers on any platform using an open source container based on Docker
- the right build pipelines can build container images for multiple platforms
References
Critical decisions for Docker
Key Concepts
What can run in a Docker container?
anything the OS and the container support
applications, services, utilities, libraries, other binaries, database servers, etc
Docker create process
create container folder
add app files
add container configuration
create image file
sign image file
push to repo
update the Docker registry
Docker deploy process
install Docker runtime on the OS
lookup the container in the Docker registry
pull Docker image from OS
if needed, manage the environment config
Docker advantages
- containers adapt to host environments, apps don't have to
- apps see environment abstracted as a common model regardless of deployment
- containers can add a layer of security
- can be used to transform monolith to microservices with minimal environment changes
- works well in devops pipelines lowering maintenance costs for faster CICD
- makes apps easy to distribute and configure for different environments
Docker components
- Docker images
- the files that make up a container
- Docker containers
- contain 1 or more applications or services in the Docker container environment
- Docker engines runs containers. Networking and volume resources are managed by engines
- executes the runtime enviornment for the contained applications
- Docker registry stores, distributes and manages Docker images
- Docker control plane for container, cluster orchestration
Docker engine features
security
network support
volumes
runtime
distributed state
orchestration
Docker EE adds:
security
orchestration
management
support
plugins
Potential Value Opportunities
Potential Challenges
Questions
- Can a Docker engine run a different OS than the host OS?
Candidate Solutions
Step-by-step guide for Example
sample code block