Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning CoreOS

You're reading from   Learning CoreOS

Arrow left icon
Product type Paperback
Published in Mar 2016
Publisher
ISBN-13 9781785888304
Length 190 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Shantanu Agrawal Shantanu Agrawal
Author Profile Icon Shantanu Agrawal
Shantanu Agrawal
Kingston Smiler. S Kingston Smiler. S
Author Profile Icon Kingston Smiler. S
Kingston Smiler. S
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. CoreOS, Yet Another Linux Distro? FREE CHAPTER 2. Setting Up Your CoreOS Environment 3. Creating Your CoreOS Cluster and Managing the Cluster 4. Managing Services with User-Defined Constraints 5. Discovering Services Running in a Cluster 6. Service Chaining and Networking Across Services 7. Creating a Virtual Tenant Network and Service Chaining Using OVS 8. What Next? Index

Introduction to Docker networking


There are multiple communication requirements for containers/service as follows. CoreOS and Docker together should provide a mechanism to meet all the following requirements:

  • Container–Container communication in the same CoreOS node

  • Container to CoreOS host communication

  • Container to external world communication

  • Container–Container communication in a different CoreOS node

Let us look into how CoreOS provides these functionalities for the docker container in the following sections.

Container–Container communication

This section describes in detail the different mechanisms provided by the CoreOS and Docker/Container technology to provide communication across different instances of Docker. There are multiple ways to provide this communication as follows:

  • Docker0 bridge and veth pair

  • Using Link

  • Using common network stack

Docker0 bridge and veth pair

Docker0 bridge is a Linux bridge created by docker in order to provide communication across different docker containers....

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