Docker Demystified : Learn How to Develop and Deploy Applications Using Docker (9789389845877) by Ghosh Saibal

Docker Demystified : Learn How to Develop and Deploy Applications Using Docker (9789389845877) by Ghosh Saibal

Author:Ghosh, Saibal [Ghosh, Saibal]
Language: eng
Format: epub, pdf
ISBN: 9789389845877
Publisher: Draft2Digital
Published: 2021-03-15T00:00:00+00:00


First, the request goes to the Docker manager.

The Docker manager then schedules the service to run on a set of nodes.

The service then runs on those nodes as individual tasks, since a service may translate into multiple individual tasks. Tasks are execution units that run once to completion. When a task stops, it isn’t executed again, but a new task may take its place. Each task will have a lifecycle state like NEW, PENDING, RUNNING, COMPLETE, and so on.

Ok, let’s get started. Let’s build a basic swarm. This swarm will consist of one manager and two worker nodes. However, there are a few prerequisites to take care of. First, we need to ensure the following ports are open:

2377 tcp for the client to daemon connection

7946/tcp 7946/udp for control plane group

4789/udp for VXLAN based overlay networks

Next, we have to identify the node that we would like to designate as the manager node and obtain its IP address. It is quite simple. We just type the command:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.