Docker on Windows

Learn how to run new and old Windows applications in Docker containers.

Docker on Windows

Elton Stoneman

4 customer reviews
Learn how to run new and old Windows applications in Docker containers.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785281655
Paperback309 pages

Book Description

Docker is a platform for running server applications in lightweight units called containers. You can run Docker on Windows Server 2016 and Windows 10, and run your existing apps in containers to get significant improvements in efficiency, security, and portability.

This book teaches you all you need to know about Docker on Windows, from 101 to deploying highly-available workloads in production. This book takes you on a Docker journey, starting with the key concepts and simple examples of how to run .NET Framework and .NET Core apps in Windows Docker containers. Then it moves on to more complex examples—using Docker to modernize the architecture and development of traditional ASP.NET and SQL Server apps.

The examples show you how to break up monoliths into distributed apps and deploy them to a clustered environment in the cloud, using the exact same artifacts you use to run them locally. To help you move confidently to production, it then explains Docker security, and the management and support options.

The book finishes with guidance on getting started with Docker in your own projects, together with some real-world case studies for Docker implementations, from small-scale on-premises apps to very large-scale apps running on Azure.

Table of Contents

Chapter 1: Getting Started with Docker on Windows
Docker and Windows containers
Understanding the key Docker concepts
Running Docker on Windows
Learning Docker with this book
Summary
Chapter 2: Packaging and Running Applications as Docker Containers
Running a container from an image
Building a Docker image
Packaging your own applications
Working with data in Docker images and containers
Packaging a traditional ASP.NET web app as a Docker image
Summary
Chapter 3: Developing Dockerized .NET and .NET Core Applications
Building good citizens for Docker
Separating dependencies
Breaking up monolithic applications
Summary
Chapter 4: Pushing and Pulling Images from Docker Registries
Understanding registries and repositories
Running a local image registry
Pushing and pulling images with a local registry
Using a commercial registry
Summary
Chapter 5: Adopting Container-First Solution Design
Design goals for NerdDinner
Running a message queue in Docker
Starting a multi-container solution
Adding new features in containers
From monolith to distributed solution
Summary
Chapter 6: Organizing Distributed Solutions with Docker Compose
Defining applications with Docker Compose
Managing applications with Docker Compose
Configuring application environments
Summary
Chapter 7: Orchestrating Distributed Solutions with Docker Swarm
Creating a swarm and managing nodes
Creating and managing services in swarm mode
Deploying stacks to Docker swarm
Running Docker swarm in the cloud
Deploying updates with zero downtime
Summary
Chapter 8: Administering and Monitoring Dockerized Solutions
Managing containers with Windows tools
Managing containers with Docker tools
CaaS with Docker EE
Summary
Chapter 9: Understanding the Security Risks and Benefits of Docker
Understanding container security
Securing applications with secure Docker images
Securing the software supply chain with DTR
Understanding security in swarm mode
Summary
Chapter 10: Powering a Continuous Deployment Pipeline with Docker
Designing CI/CD with Docker
Running shared development services in Docker
Configuring CI/CD using Jenkins in Docker
Deploying to a remote Docker swarm using Jenkins
Summary
Chapter 11: Debugging and Instrumenting Application Containers
Working with Docker in integrated development environments
Instrumentation in Dockerized applications
The bug fixing workflow in Docker
Summary
Chapter 12: Containerize What You Know - Guidance for Implementing Docker
Dockerizing what you know
Case studies for implementing Docker
Summary

What You Will Learn

  • Comprehend key Docker concepts: images, containers, registries, and swarms
  • Run Docker on Windows 10, Windows Server 2016, and in the cloud
  • Deploy and monitor distributed solutions across multiple Docker containers
  • Run containers with high availability and fail-over with Docker Swarm
  • Master security in-depth with the Docker platform, making your apps more secure
  • Build a Continuous Deployment pipeline by running Jenkins in Docker
  • Debug applications running in Docker containers using Visual Studio
  • Plan the adoption of Docker in your own organization

Authors

Table of Contents

Chapter 1: Getting Started with Docker on Windows
Docker and Windows containers
Understanding the key Docker concepts
Running Docker on Windows
Learning Docker with this book
Summary
Chapter 2: Packaging and Running Applications as Docker Containers
Running a container from an image
Building a Docker image
Packaging your own applications
Working with data in Docker images and containers
Packaging a traditional ASP.NET web app as a Docker image
Summary
Chapter 3: Developing Dockerized .NET and .NET Core Applications
Building good citizens for Docker
Separating dependencies
Breaking up monolithic applications
Summary
Chapter 4: Pushing and Pulling Images from Docker Registries
Understanding registries and repositories
Running a local image registry
Pushing and pulling images with a local registry
Using a commercial registry
Summary
Chapter 5: Adopting Container-First Solution Design
Design goals for NerdDinner
Running a message queue in Docker
Starting a multi-container solution
Adding new features in containers
From monolith to distributed solution
Summary
Chapter 6: Organizing Distributed Solutions with Docker Compose
Defining applications with Docker Compose
Managing applications with Docker Compose
Configuring application environments
Summary
Chapter 7: Orchestrating Distributed Solutions with Docker Swarm
Creating a swarm and managing nodes
Creating and managing services in swarm mode
Deploying stacks to Docker swarm
Running Docker swarm in the cloud
Deploying updates with zero downtime
Summary
Chapter 8: Administering and Monitoring Dockerized Solutions
Managing containers with Windows tools
Managing containers with Docker tools
CaaS with Docker EE
Summary
Chapter 9: Understanding the Security Risks and Benefits of Docker
Understanding container security
Securing applications with secure Docker images
Securing the software supply chain with DTR
Understanding security in swarm mode
Summary
Chapter 10: Powering a Continuous Deployment Pipeline with Docker
Designing CI/CD with Docker
Running shared development services in Docker
Configuring CI/CD using Jenkins in Docker
Deploying to a remote Docker swarm using Jenkins
Summary
Chapter 11: Debugging and Instrumenting Application Containers
Working with Docker in integrated development environments
Instrumentation in Dockerized applications
The bug fixing workflow in Docker
Summary
Chapter 12: Containerize What You Know - Guidance for Implementing Docker
Dockerizing what you know
Case studies for implementing Docker
Summary

Book Details

ISBN 139781785281655
Paperback309 pages
Read More
From 4 reviews

Read More Reviews

Recommended for You

DevOps: Puppet, Docker, and Kubernetes Book Cover
DevOps: Puppet, Docker, and Kubernetes
$ 79.99
$ 56.00
Jenkins 2 Introduction for Beginners on Windows [Video] Book Cover
Jenkins 2 Introduction for Beginners on Windows [Video]
$ 19.99
$ 17.00
Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7 Book Cover
Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7
$ 29.99
$ 21.00
Build Your Own PaaS with Docker Book Cover
Build Your Own PaaS with Docker
$ 23.99
$ 16.80
Docker Technologies for DevOps and Developers [Video] Book Cover
Docker Technologies for DevOps and Developers [Video]
$ 29.99
$ 25.50
The DevOps 2.1 Toolkit: Docker Swarm Book Cover
The DevOps 2.1 Toolkit: Docker Swarm
$ 39.99
$ 28.00