更新时间:2021-06-24 17:01:20
封面
Title Page
Copyright and Credits
Learn Docker – Fundamentals of Docker 19.x Second Edition
About Packt
Why subscribe?
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: Motivation and Getting Started
What Are Containers and Why Should I Use Them?
What are containers?
Why are containers important?
What's the benefit for me or for my company?
The Moby project
Docker products
Docker CE
Docker EE
Container architecture
Summary
Questions
Further reading
Setting Up a Working Environment
Technical requirements
The Linux command shell
PowerShell for Windows
Using a package manager
Installing Homebrew on macOS
Installing Chocolatey on Windows
Installing Git
Choosing a code editor
Installing VS Code on macOS
Installing VS Code on Windows
Installing VS Code on Linux
Installing VS Code extensions
Installing Docker for Desktop
Installing Docker for Desktop on macOS
Installing Docker for Desktop on Windows
Installing Docker CE on Linux
Installing Docker Toolbox
Installing Docker Toolbox on macOS
Installing Docker Toolbox on Windows
Setting up Docker Toolbox
Installing Minikube
Installing Minikube on macOS and Windows
Testing Minikube and kubectl
Section 2: Containerization from Beginner to Black Belt
Mastering Containers
Running the first container
Starting stopping and removing containers
Running a random trivia question container
Listing containers
Stopping and starting containers
Removing containers
Inspecting containers
Exec into a running container
Attaching to a running container
Retrieving container logs
Logging drivers
Using a container-specific logging driver
Advanced topic – changing the default logging driver
Anatomy of containers
Architecture
Namespaces
Control groups (cgroups)
Union filesystem (Unionfs)
Container plumbing
runC
Containerd
Creating and Managing Container Images
What are images?
The layered filesystem
The writable container layer
Copy-on-write
Graph drivers
Creating images
Interactive image creation
Using Dockerfiles
The FROM keyword
The RUN keyword
The COPY and ADD keywords
The WORKDIR keyword
The CMD and ENTRYPOINT keywords