舉報(bào)

會(huì)員
Docker on Windows
DockeronWindows,SecondEditionteachesyouallyouneedtoknowaboutDockeronWindows,fromthe101torunninghighly-availableworkloadsinproduction.You’llbeguidedthroughaDockerjourney,startingwiththekeyconceptsandsimpleexamplesof.NETFrameworkand.NETCoreappsinDockercontainersonWindows.Thenyou’lllearnhowtouseDockertomodernizethearchitectureanddevelopmentoftraditionalASP.NETandSQLServerapps.Theexamplesshowyouhowtobreakuplegacymonolithicapplicationsintodistributedappsanddeploythemtoaclusteredenvironmentinthecloud,usingtheexactsameartifactsyouusetorunthemlocally.You’llseehowtobuildaCI/CDpipelinewhichusesDockertocompile,package,testanddeployyourapplications.Tohelpyoumoveconfidentlytoproduction,you’lllearnaboutDockersecurity,andthemanagementandsupportoptions.ThebookfinisheswithguidanceongettingstartedwithDockerinyourownprojects.You’llwalkthroughsomereal-worldcasestudiesforDockerimplementations,fromsmall-scaleon-premisesappstoverylarge-scaleappsrunningonAzure.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- Case study 3 – an Azure IoT app
- Case study 2 – a database integration service
- Case study 1 – an in-house WebForms app
品牌:中圖公司
上架時(shí)間:2021-07-02 12:23:40
出版社:Packt Publishing
本書(shū)數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時(shí)間:2021-07-02 12:48:38
- Other Books You May Enjoy
- Summary
- Case study 3 – an Azure IoT app
- Case study 2 – a database integration service
- Case study 1 – an in-house WebForms app
- Case studies for implementing Docker
- Engaging other stakeholders
- Generating an initial Dockerfile with Image2Docker
- Selecting a simple Proof-of-Concept app
- Dockerizing what you know
- Containerize What You Know - Guidance for Implementing Docker
- Summary
- Bug fixing with Docker
- Bug fixing before Docker
- The bug fixing workflow in Docker
- Building application dashboards in Grafana
- Running a Prometheus server in a Windows Docker container
- Adding a Prometheus exporter alongside existing apps
- Exposing .NET application metrics to Prometheus
- Instrumentation with Prometheus
- Instrumentation in Dockerized applications
- Docker in Visual Studio Code
- Docker in Visual Studio 2015
- Debugging with Docker Compose in Visual Studio 2017
- Docker in Visual Studio 2017
- Working with Docker in integrated development environments
- Technical requirements
- Debugging and Instrumenting Application Containers
- Section 4: Getting Started on Your Container Journey
- Summary
- Deploying to a remote Docker Swarm using Jenkins
- Tagging and pushing Docker images in Jenkins
- Running end-to-end tests in Docker
- Running and verifying the solution
- Building the solution using Docker in Jenkins
- Configuring the Jenkins CI job
- Setting up Jenkins credentials
- Configuring CI/CD using Jenkins in Docker
- Committing images from running containers
- Running the Jenkins automation server in Docker
- Packaging a CI server into a Windows Docker image
- Running the Gogs Git server in Docker
- Packaging a Git server into a Windows Docker image
- Running shared development services in Docker
- Designing CI/CD with Docker
- Technical requirements
- Powering a Continuous Deployment Pipeline with Docker
- Summary
- Integration with container security technologies
- Node labels and external access
- Encryption and secrets
- Nodes and join tokens
- Understanding security in swarm mode
- Golden images
- Image signing and content trust
- Image promotion policies in DTR
- Organizations and teams
- Repositories and users
- Securing the software supply chain with DTR
- Managing Windows updates
- Docker Security Scanning
- Building minimal images
- Securing applications with secure Docker images
- Isolation in Hyper-V containers
- Windows containers and Active Directory
- Running containers with restricted capabilities
- Running containers with resource constraints
- Container user accounts and ACLs
- Container processes
- Understanding container security
- Understanding the Security Risks and Benefits of Docker
- Summary
- RBAC
- Monitoring services
- Creating services
- Deploying stacks
- Networks
- Images
- Volumes
- Managing nodes
- Navigating the UCP UI
- Understanding Universal Control Plane
- CaaS with Docker Enterprise
- Portainer
- Docker visualizer
- Managing containers with Docker tools
- Server manager
- Event logs
- SQL Server Management Studio (SSMS)
- IIS Manager
- Managing containers with Windows tools
- Technical requirements
- Administering and Monitoring Dockerized Solutions
- Section 3: Preparing for Docker in Production
- Summary
- Mixing hosts in hybrid swarms
- Updating swarm nodes
- Configuring update behavior
- Rolling back service updates
- Updating application services
- Deploying updates with zero downtime
- Deploying a swarm stack from a Docker Compose file
- Defining swarm resources in Docker Compose files
- Defining a stack using Docker Compose files
- Deploying stacks to Docker Swarm
- Storing sensitive data in Docker secrets
- Using Docker config objects in swarm services
- Storing configuration in Docker config objects
- Managing application configuration in Docker Swarm
- Load-balancing and scale in swarm mode
- Global services
- Running services across many containers
- Creating and managing services in swarm mode
- Docker Certified Infrastructure
- Running Docker Swarm in the cloud
- Promoting and removing swarm nodes
- Adding workers to the swarm
- Initializing the swarm
- Creating a swarm and managing nodes
- Technical requirements
- Orchestrating Distributed Solutions with Docker Swarm
- Summary
- Using Docker Compose overrides
- Specifying external resources
- Configuring application environments
- Managing application images
- Monitoring application containers
- Upgrading application services
- Stopping and starting application services
- Scaling application services
- Running applications
- Managing applications with Docker Compose
- Specifying application resources
- Configuring application services
- Kibana
- Traefik
- Elasticsearch
- Defining infrastructure services
- Capturing service definitions
- Defining applications with Docker Compose
- Technical requirements
- Organizing Distributed Solutions with Docker Compose
- Summary
- Managing build and deployment dependencies
- From monolith to distributed solution
- Providing analytics with Kibana
- Packaging .NET Core console apps in Docker
- Compiling the hybrid NerdDinner solution
- Building hybrid .NET Framework and .NET Core solutions in Docker
- Using Elasticsearch with Docker and .NET
- Adding new features in containers
- Proxying traffic from Docker containers with Traefik
- Routing HTTP requests between containers with a reverse proxy
- Adding a REST API to expose data
- Modernizing legacy applications
- Starting a multi-container solution
- Running a message queue in Docker
- Packaging .NET console apps in Docker
- Splitting out the create dinner feature
- Dockerizing NerdDinner's configuration
- Design goals for NerdDinner
- Technical requirements
- Adopting Container-First Solution Design
- Section 2: Designing and Building Containerized Solutions
- Summary
- Other registries
- Docker Trusted Registry
- Docker Hub
- Using a commercial registry
- Storing Windows image layers in a local registry
- Configuring Docker to allow insecure registries
- Pushing and pulling images with a local registry
- Running a registry container
- Building the registry image
- Running a local image registry
- Pushing images to a registry
- Building tagging and versioning images
- Examining image repository names
- Understanding registries and repositories
- Sharing Images with Docker Registries
- Summary
- Connecting to application containers from other application containers
- Hosting a UI component in an ASP.NET Core application
- Extracting high-value components from monoliths
- Breaking up monolithic applications
- Connecting to database containers from application containers
- Running databases in containers
- Managing database files for SQL Server containers
- Creating Docker images for SQL Server databases
- Separating dependencies
- Building Docker images that monitor applications
- Promoting environment variables
- Mounting configuration files in Docker volumes
- Managing application configuration
- Configuring IIS for Docker-friendly logging
- Hosting Internet Information Services (IIS) applications in Docker
- Building good citizens for Docker
- Developing Dockerized .NET Framework and .NET Core Applications
- Summary
- Writing a Dockerfile for NerdDinner
- Packaging a traditional ASP.NET web app as a Docker image
- Using volumes for configuration and state
- Mounting volumes from host directories
- Sharing data between the container and host with volumes
- Sharing data between containers with volumes
- Data in layers and the virtual C drive
- Working with data in Docker images and containers
- Understanding temporary containers and image state
- Using the main Dockerfile instructions
- Compiling with multi-stage builds
- Compiling the application before the build
- Compiling the application during the build
- Packaging your own applications
- Examining how Docker builds an image
- Building an image from a Dockerfile
- Understanding Dockerfiles
- Building a Docker image
- Keeping a process running in a background container
- Connecting to an interactive container
- Doing one thing with a task container
- Running a container from an image
- Technical requirements
- Packaging and Running Applications as Docker Containers
- Summary
- Learning about Docker with this book
- Docker in an Azure VM
- Docker Engine
- Docker Desktop
- Running Docker on Windows
- A note on Kubernetes
- Docker Swarm
- Docker containers
- Image registries
- Docker images
- The Docker Engine and Docker command-line
- Understanding the key Docker concepts
- Windows licensing
- Windows versions
- Docker and Windows containers
- Technical requirements
- Getting Started with Docker on Windows
- Section 1: Understanding Docker and Windows Containers
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewers
- About the author
- Contributors
- Packt.com
- Why subscribe?
- About Packt
- Docker on Windows Second Edition
- Copyright and Credits
- Title Page
- coverpage
- 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
- Technical requirements
- 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
- Summary
- 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
- Summary
- 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
- Summary
- Section 2: Designing and Building Containerized Solutions
- Adopting Container-First Solution Design
- Technical requirements
- Design goals for NerdDinner
- Dockerizing NerdDinner's configuration
- Splitting out the create dinner feature
- Packaging .NET console apps in Docker
- Running a message queue in Docker
- Starting a multi-container solution
- Modernizing legacy applications
- Adding a REST API to expose data
- Routing HTTP requests between containers with a reverse proxy
- Proxying traffic from Docker containers with Traefik
- Adding new features in containers
- Using Elasticsearch with Docker and .NET
- Building hybrid .NET Framework and .NET Core solutions in Docker
- Compiling the hybrid NerdDinner solution
- Packaging .NET Core console apps in Docker
- Providing analytics with Kibana
- From monolith to distributed solution
- Managing build and deployment dependencies
- Summary
- Organizing Distributed Solutions with Docker Compose
- Technical requirements
- Defining applications with Docker Compose
- Capturing service definitions
- Defining infrastructure services
- Elasticsearch
- Traefik
- Kibana
- Configuring application services
- Specifying application resources
- Managing applications with Docker Compose
- Running applications
- Scaling application services
- Stopping and starting application services
- Upgrading application services
- Monitoring application containers
- Managing application images
- Configuring application environments
- Specifying external resources
- Using Docker Compose overrides
- Summary
- Orchestrating Distributed Solutions with Docker Swarm
- Technical requirements
- Creating a swarm and managing nodes
- Initializing the swarm
- Adding workers to the swarm
- Promoting and removing swarm nodes
- Running Docker Swarm in the cloud
- Docker Certified Infrastructure
- Creating and managing services in swarm mode
- Running services across many containers
- Global services
- Load-balancing and scale in swarm mode
- Managing application configuration in Docker Swarm
- Storing configuration in Docker config objects
- Using Docker config objects in swarm services
- Storing sensitive data in Docker secrets
- Deploying stacks to Docker Swarm
- Defining a stack using Docker Compose files
- Defining swarm resources in Docker Compose files
- Deploying a swarm stack from a Docker Compose file
- Deploying updates with zero downtime
- Updating application services
- Rolling back service updates
- Configuring update behavior
- Updating swarm nodes
- Mixing hosts in hybrid swarms
- Summary
- Section 3: Preparing for Docker in Production
- Administering and Monitoring Dockerized Solutions
- Technical requirements
- Managing containers with Windows tools
- IIS Manager
- SQL Server Management Studio (SSMS)
- Event logs
- Server manager
- Managing containers with Docker tools
- Docker visualizer
- Portainer
- CaaS with Docker Enterprise
- Understanding Universal Control Plane
- Navigating the UCP UI
- Managing nodes
- Volumes
- Images
- Networks
- Deploying stacks
- Creating services
- Monitoring services
- RBAC
- Summary
- Understanding the Security Risks and Benefits of Docker
- Understanding container security
- Container processes
- Container user accounts and ACLs
- Running containers with resource constraints
- Running containers with restricted capabilities
- Windows containers and Active Directory
- Isolation in Hyper-V containers
- Securing applications with secure Docker images
- Building minimal images
- Docker Security Scanning
- Managing Windows updates
- Securing the software supply chain with DTR
- Repositories and users
- Organizations and teams
- Image promotion policies in DTR
- Image signing and content trust
- Golden images
- Understanding security in swarm mode
- Nodes and join tokens
- Encryption and secrets
- Node labels and external access
- Integration with container security technologies
- Summary
- Powering a Continuous Deployment Pipeline with Docker
- Technical requirements
- Designing CI/CD with Docker
- Running shared development services in Docker
- Packaging a Git server into a Windows Docker image
- Running the Gogs Git server in Docker
- Packaging a CI server into a Windows Docker image
- Running the Jenkins automation server in Docker
- Committing images from running containers
- Configuring CI/CD using Jenkins in Docker
- Setting up Jenkins credentials
- Configuring the Jenkins CI job
- Building the solution using Docker in Jenkins
- Running and verifying the solution
- Running end-to-end tests in Docker
- Tagging and pushing Docker images in Jenkins
- Deploying to a remote Docker Swarm using Jenkins
- Summary
- Section 4: Getting Started on Your Container Journey
- Debugging and Instrumenting Application Containers
- Technical requirements
- Working with Docker in integrated development environments
- Docker in Visual Studio 2017
- Debugging with Docker Compose in Visual Studio 2017
- Docker in Visual Studio 2015
- Docker in Visual Studio Code
- Instrumentation in Dockerized applications
- Instrumentation with Prometheus
- Exposing .NET application metrics to Prometheus
- Adding a Prometheus exporter alongside existing apps
- Running a Prometheus server in a Windows Docker container
- Building application dashboards in Grafana
- The bug fixing workflow in Docker
- Bug fixing before Docker
- Bug fixing with Docker
- Summary
- Containerize What You Know - Guidance for Implementing Docker
- Dockerizing what you know
- Selecting a simple Proof-of-Concept app
- Generating an initial Dockerfile with Image2Docker
- Engaging other stakeholders
- Case studies for implementing Docker
- Case study 1 – an in-house WebForms app
- Case study 2 – a database integration service
- Case study 3 – an Azure IoT app
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時(shí)間:2021-07-02 12:48:38