Mastering Docker and Kubernetes: A Comprehensive Guide

School
Thomas Jefferson School of Law**We aren't endorsed by this school
Course
AMJUR 635A
Subject
Computer Science
Date
Dec 12, 2024
Pages
2
Uploaded by kj6n0kx24
4.7 Accessing the Docker Daemon Remotely 4.8 Exploring the Docker Remote API to Automate Docker Tasks 4.9 Securing the Docker Daemon for Remote Access 4.10 Using docker-py to Access the Docker Daemon Remotely 4.11 Using docker-py Securely 4.12 Changing the Storage Driver [T T (o R AN RS S O3 S0 R Wl . iy 0 Ry ST o 5.0 Introduction 5.1 Understanding Kubernetes Architecture 5.2 Networking Pods for Container Connectivity 5.3 Creating a Multinode Kubernetes Cluster with Vagrant 5.4 Starting Containers on a Kubernetes Cluster with Pods 5.5 Taking Advantage of Labels for Querying Kubernetes Objects 5.6 Using a Replication Controller to Manage the Number of Replicas of a Pod 5.7 Running Multiple Containers in a Pod 5.8 Using Cluster IP Services for Dynamic Linking of Containers 5.9 Creating a Single-Node Kubernetes Cluster Using Docker Compose 5.10 Compiling Kubernetes to Create Your Own Release 5.11 Starting Kubernetes Components with the hyperkube Binary 5.12 Exploring the Kubernetes API 5.13 Running the Kubernetes Dashboard 5.14 Upgrading from an Old API Version 5.15 Configuring Authentication to a Kubernetes Cluster 5.16 Configuring the Kubernetes Client to Access Remote Clusters Optimized Operating System Distributions for Docker......................6.0 Introduction 6.1 Discovering the CoreOS Linux Distribution with Vagrant 6.2 Starting a Container on CoreOS via cloud-init 6.3 Starting a CoreOS Cluster via Vagrant to Run Containers on Multiple Hosts 6.4 Using fleet to Start Containers on a CoreOS Cluster 6.5 Deploying a flannel Overlay Between CoreOS Instances 6.6 Using Project Atomic to Run Docker Containers 6.7 Starting an Atomic Instance on AWS to Use Docker 6.8 Running Docker on Ubuntu Core Snappy in a Snap 6.9 Starting an Ubuntu Core Snappy Instance on AWS EC2 6.10 Running Docker Containers on RancherOS 120 121 123 126 128 129 131 131 133 136 137 141 142 144 146 148 153 156 159 160 164 165 167 169 7m 171 172 175 177 180 182 185 186 188 190 194 Table of Contents | vii
Background image
7. The Docker ECosystem: TOOIS. . ....cvvuversrenniiierernnnnnnniesieesreennnns 197 7.0 Introduction 197 7.1 Using Docker Compose to Create a WordPress Site 198 7.2 Using Docker Compose to Test Apache Mesos and Marathon on Docker 201 7.3 Starting Containers on a Cluster with Docker Swarm 203 7.4 Using Docker Machine to Create a Swarm Cluster Across Cloud Providers 206 7.5 Managing Containers Locally Using the Kitematic Ul 208 7.6 Managing Containers Through Docker Ul 210 7.7 Using the Wharfee Interactive Shell 212 7.8 Orchestrating Containers with Ansible Docker Module 214 7.9 Using Rancher to Manage Containers on a Cluster of Docker Hosts 217 7.10 Running Containers on a Cluster Using Lattice 221 7.11 Running Containers via Apache Mesos and Marathon 223 7.12 Using the Mesos Docker Containerizer on a Mesos Cluster 228 7.13 Discovering Docker Services with Registrator 230 8Ā¢ Dockerinthe tlond: ... .o Ā»sossesmas 5550 S irdainee d SoaaR A Rl . 235 8.0 Introduction 235 8.1 Accessing Public Clouds to Run Docker 237 8.2 Starting a Docker Host on AWS EC2 240 8.3 Starting a Docker Host on Google GCE 243 8.4 Starting a Docker Host on Microsoft Azure 245 8.5 Starting a Docker Host on AWS Using Docker Machine 248 8.6 Starting a Docker Host on Azure with Docker Machine 250 8.7 Running a Cloud Provider CLI in a Docker Container 252 8.8 Using Google Container Registry to Store Your Docker Images 254 8.9 Using Docker in GCE Google-Container Instances 257 8.10 Using Kubernetes in the Cloud via GCE 259 8.11 Setting Up to Use the EC2 Container Service 264 8.12 Creating an ECS Cluster 267 8.13 Starting Docker Containers on an ECS Cluster 270 8.14 Starting an Application in the Cloud Using Docker Support in AWS Beanstalk 274 9. Monitoring Containers. ..........cvvvuvvennrinerusennnesnnens F e LA 279 9.0 Introduction 279 9.1 Getting Detailed Information About a Container with docker inspect 280 9.2 Obtaining Usage Statistics of a Running Container 282 9.3 Listening to Docker Events on Your Docker Hosts 284 9.4 Getting the Logs of a Container with docker logs 285 9.5 Using a Different Logging Driver than the Docker Daemon 286 9.6 Using Logspout to Collect Container Logs 289 viii | Table of Contents
Background image