Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Windows Server Containers

You're reading from   Learning Windows Server Containers Build and deploy high-quality portable apps faster

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781785887932
Length 404 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Srikanth Machiraju Srikanth Machiraju
Author Profile Icon Srikanth Machiraju
Srikanth Machiraju
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Exploring Virtualization FREE CHAPTER 2. Deploying First Container 3. Working with Container Images 4. Developing Container Applications 5. Deploying Container Applications 6. Storage Volumes 7. Redis Cache Containers 8. Container Network 9. Continuous Integration and Delivery 10. Manage Resource Allocation and REST API 11. Composite Containers and Clustering 12. Nano Server

Networking modes


Windows Containers can use any of the four available networking modes (or drivers) to expose containers to the outside world. The networking mode chosen by the container decides how the container will be accessible from outside, how IP addresses are assigned and how networking policy can be applied. Apart from NAT networking mode, we've learned that the Windows Server 2016 networking stack offers three more modes for networking: transparent, L2 bridge and L2 tunnel. These are described in the next section.

Transparent

In transparent networking mode, each container is directly connected to the host's network (unlike NAT where containers use container host's IP to connect to the outside network). This mode is most familiar to Hyper-V users. Containers use the VM switch to connect to the network connected by the switch as shown in the following image:

Traffic is routed from the containers to the NIC via the v-Switch directly. Containers can be assigned IP addresses statically...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image