更新时间:2021-07-02 12:48:38
coverpage
Title Page
Copyright and Credits
Docker on Windows Second Edition
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewers
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: Understanding Docker and Windows Containers
Getting Started with Docker on Windows
Technical requirements
Docker and Windows containers
Windows versions
Windows licensing
Understanding the key Docker concepts
The Docker Engine and Docker command-line
Docker images
Image registries
Docker containers
Docker Swarm
A note on Kubernetes
Running Docker on Windows
Docker Desktop
Docker Engine
Docker in an Azure VM
Learning about Docker with this book
Summary
Packaging and Running Applications as Docker Containers
Running a container from an image
Doing one thing with a task container
Connecting to an interactive container
Keeping a process running in a background container
Building a Docker image
Understanding Dockerfiles
Building an image from a Dockerfile
Examining how Docker builds an image
Packaging your own applications
Compiling the application during the build
Compiling the application before the build
Compiling with multi-stage builds
Using the main Dockerfile instructions
Understanding temporary containers and image state
Working with data in Docker images and containers
Data in layers and the virtual C drive
Sharing data between containers with volumes
Sharing data between the container and host with volumes
Mounting volumes from host directories
Using volumes for configuration and state
Packaging a traditional ASP.NET web app as a Docker image
Writing a Dockerfile for NerdDinner
Developing Dockerized .NET Framework and .NET Core Applications
Building good citizens for Docker
Hosting Internet Information Services (IIS) applications in Docker
Configuring IIS for Docker-friendly logging
Managing application configuration
Mounting configuration files in Docker volumes
Promoting environment variables
Building Docker images that monitor applications
Separating dependencies
Creating Docker images for SQL Server databases
Managing database files for SQL Server containers
Running databases in containers
Connecting to database containers from application containers
Breaking up monolithic applications
Extracting high-value components from monoliths
Hosting a UI component in an ASP.NET Core application
Connecting to application containers from other application containers
Sharing Images with Docker Registries
Understanding registries and repositories
Examining image repository names
Building tagging and versioning images
Pushing images to a registry
Running a local image registry
Building the registry image
Running a registry container
Pushing and pulling images with a local registry
Configuring Docker to allow insecure registries
Storing Windows image layers in a local registry
Using a commercial registry
Docker Hub
Docker Trusted Registry
Other registries
Section 2: Designing and Building Containerized Solutions
Adopting Container-First Solution Design