SlideShare a Scribd company logo
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Agenda
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Agenda For The Session
i. What Is A Docker Container?
ii. What Is Docker Swarm?
iii. Docker Swarm Commands
iv. Demo: Achieving High Availability Using Docker Swarm
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What Is A Docker Container?
Docker Container is an isolated application platform which contains everything needed to run the application.
They are built from one base docker image & dependencies are installed on top of the image as “image layers”.
Container Lifecycle
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
What Is Docker Swarm?
Docker Swarm is a technique to create and maintain a cluster of Docker Engines.
Service deployed in any node can be accessed on other nodes in the same cluster.
• High-Availability of services
• Auto load-balancing
• Decentralized access
• Easy to Scale-up deployments
• Rolling updates
FEATURES
Docker
Manager
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Demo
Achieving High Availability With Docker Swarm
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Docker Swarm For High Availability
Docker Swarm Cluster
MANAGER
Node - 1 Node - 2
Port 4200: Angular Application
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Docker Swarm For High Availability
Docker Swarm Cluster
MANAGER
Node - 1 Node - 2
Port 4200: Angular Application
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Docker Swarm For High Availability
Docker Swarm Cluster
MANAGER
Node - 1 Node - 2
Port 4200: Angular Application
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Docker Swarm Commands
$ docker swarm init --advertise-addr <ip-addr>Initialize the swarm
$ docker service lsList services
$ docker service ps <name>List task of services
$ docker service create <name> <image -name>Create new service
$ docker service rm <name>Remove service
$ docker service scale <name>=5Scale services
$ docker swarm leave --forceLeave the swarm
$ docker node lsList the nodes
$ docker node psList services in nodes
$ docker node rm <id>Remove node
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Session In A Minute
What Is Docker Container?
Docker Swarm Commands
What Is Docker Swarm?
Demo: Docker Swarm For
High Availability
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
WebDriver vs. IDE vs. RC
➢ Data Warehouse is like a relational database designed for analytical needs.
➢ It functions on the basis of OLAP (Online Analytical Processing).
➢ It is a central location where consolidated data from multiple locations (databases) are stored.

More Related Content

PDF
Docker in real life
PDF
Dockerfile
PPTX
Docker Basics
PDF
How to write a Dockerfile
PDF
Containers: The What, Why, and How
PDF
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
PDF
Introduction to Docker Compose
PDF
Introduction to Docker
Docker in real life
Dockerfile
Docker Basics
How to write a Dockerfile
Containers: The What, Why, and How
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Introduction to Docker Compose
Introduction to Docker

What's hot (20)

PDF
Networking in Docker
PPTX
Introduction to docker
PDF
Introduction to docker
PDF
Docker & kubernetes
PDF
Introduction to docker and docker compose
PPTX
Introduction to Kubernetes
PPTX
Docker 101 : Introduction to Docker and Containers
PPTX
Introduction to Containers and Docker
PDF
Introduction to Kubernetes Workshop
PPTX
Docker and kubernetes
PPTX
Kubernetes Networking 101
PPTX
Docker Networking Overview
PDF
OpenShift 4, the smarter Kubernetes platform
PDF
Red Hat OpenShift Container Platform Overview
ODP
Kubernetes Architecture
PDF
Docker by Example - Basics
PDF
How OpenShift SDN helps to automate
PDF
Docker 101: Introduction to Docker
PDF
Networking in Docker
Introduction to docker
Introduction to docker
Docker & kubernetes
Introduction to docker and docker compose
Introduction to Kubernetes
Docker 101 : Introduction to Docker and Containers
Introduction to Containers and Docker
Introduction to Kubernetes Workshop
Docker and kubernetes
Kubernetes Networking 101
Docker Networking Overview
OpenShift 4, the smarter Kubernetes platform
Red Hat OpenShift Container Platform Overview
Kubernetes Architecture
Docker by Example - Basics
How OpenShift SDN helps to automate
Docker 101: Introduction to Docker
Ad

Viewers also liked (20)

PDF
Big Data Tutorial For Beginners | What Is Big Data | Big Data Tutorial | Hado...
PDF
Angular 4 Data Binding | Two Way Data Binding in Angular 4 | Angular 4 Tutori...
PDF
Introduction To TensorFlow | Deep Learning Using TensorFlow | TensorFlow Tuto...
PDF
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginn...
PPT
Implementing Semantic Search
PDF
[Tek] 4차산업혁명위원회 사회제도혁신위원회에 제출한 규제합리화 방안
PDF
React Components Lifecycle | React Tutorial for Beginners | ReactJS Training ...
PPTX
Big Data and Advanced Analytics
PDF
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
PPT
Transformative education..ppt st11
PPTX
Anthony robbins public speaking secrets
PPTX
Abuse
PPT
An Introduction to Visual Thinking
PDF
Safeguarding Policy
PPTX
poster session
PPT
Adult protection and safeguarding presentation
PPTX
Slide guide for consulting-style presentations
PDF
2015 Upload Campaigns Calendar - SlideShare
PDF
Life@SlideShare
PPT
PPT - Powerful Presentation Techniques
Big Data Tutorial For Beginners | What Is Big Data | Big Data Tutorial | Hado...
Angular 4 Data Binding | Two Way Data Binding in Angular 4 | Angular 4 Tutori...
Introduction To TensorFlow | Deep Learning Using TensorFlow | TensorFlow Tuto...
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginn...
Implementing Semantic Search
[Tek] 4차산업혁명위원회 사회제도혁신위원회에 제출한 규제합리화 방안
React Components Lifecycle | React Tutorial for Beginners | ReactJS Training ...
Big Data and Advanced Analytics
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
Transformative education..ppt st11
Anthony robbins public speaking secrets
Abuse
An Introduction to Visual Thinking
Safeguarding Policy
poster session
Adult protection and safeguarding presentation
Slide guide for consulting-style presentations
2015 Upload Campaigns Calendar - SlideShare
Life@SlideShare
PPT - Powerful Presentation Techniques
Ad

Similar to Docker Swarm For High Availability | Docker Tutorial | DevOps Tutorial | Edureka (20)

PDF
廣宣學堂: 容器進階實務 - Docker進深研究班
PDF
Docker 進階實務班
PPTX
Docker, cornerstone of an hybrid cloud?
PPTX
Docker
PPTX
Docker Basic to Advance
PDF
ContainerDayVietnam2016: Dockerize a small business
PDF
Docker: A New Way to Turbocharging Your Apps Development
PDF
Docker Commands With Examples | Docker Tutorial | DevOps Tutorial | Docker Tr...
PDF
What's New in Docker 1.12?
PPTX
Docker Security workshop slides
PPTX
Docker-Presentation.pptx
PDF
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
PPTX
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
PPTX
Docker container a-brief_introduction_2016-01-30
POTX
Deploying .net core apps to Docker - dotnetConf Local Bengaluru
PDF
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
PPTX
Docker-machine
PDF
VMware@Night: Container & Virtualisierung
PDF
VMware@Night Container and Virtualization
PDF
Deep Dive into Docker Swarm Mode
廣宣學堂: 容器進階實務 - Docker進深研究班
Docker 進階實務班
Docker, cornerstone of an hybrid cloud?
Docker
Docker Basic to Advance
ContainerDayVietnam2016: Dockerize a small business
Docker: A New Way to Turbocharging Your Apps Development
Docker Commands With Examples | Docker Tutorial | DevOps Tutorial | Docker Tr...
What's New in Docker 1.12?
Docker Security workshop slides
Docker-Presentation.pptx
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
Docker container a-brief_introduction_2016-01-30
Deploying .net core apps to Docker - dotnetConf Local Bengaluru
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
Docker-machine
VMware@Night: Container & Virtualisierung
VMware@Night Container and Virtualization
Deep Dive into Docker Swarm Mode

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
KodekX | Application Modernization Development
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
Per capita expenditure prediction using model stacking based on satellite ima...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
sap open course for s4hana steps from ECC to s4
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KodekX | Application Modernization Development
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Empathic Computing: Creating Shared Understanding
Encapsulation_ Review paper, used for researhc scholars
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing

Docker Swarm For High Availability | Docker Tutorial | DevOps Tutorial | Edureka

  • 1. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Agenda
  • 2. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Agenda For The Session i. What Is A Docker Container? ii. What Is Docker Swarm? iii. Docker Swarm Commands iv. Demo: Achieving High Availability Using Docker Swarm
  • 3. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What Is A Docker Container? Docker Container is an isolated application platform which contains everything needed to run the application. They are built from one base docker image & dependencies are installed on top of the image as “image layers”. Container Lifecycle
  • 4. Copyright © 2017, edureka and/or its affiliates. All rights reserved. What Is Docker Swarm? Docker Swarm is a technique to create and maintain a cluster of Docker Engines. Service deployed in any node can be accessed on other nodes in the same cluster. • High-Availability of services • Auto load-balancing • Decentralized access • Easy to Scale-up deployments • Rolling updates FEATURES Docker Manager
  • 5. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Demo Achieving High Availability With Docker Swarm
  • 6. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Docker Swarm For High Availability Docker Swarm Cluster MANAGER Node - 1 Node - 2 Port 4200: Angular Application
  • 7. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Docker Swarm For High Availability Docker Swarm Cluster MANAGER Node - 1 Node - 2 Port 4200: Angular Application
  • 8. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Docker Swarm For High Availability Docker Swarm Cluster MANAGER Node - 1 Node - 2 Port 4200: Angular Application
  • 9. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Docker Swarm Commands $ docker swarm init --advertise-addr <ip-addr>Initialize the swarm $ docker service lsList services $ docker service ps <name>List task of services $ docker service create <name> <image -name>Create new service $ docker service rm <name>Remove service $ docker service scale <name>=5Scale services $ docker swarm leave --forceLeave the swarm $ docker node lsList the nodes $ docker node psList services in nodes $ docker node rm <id>Remove node
  • 10. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Session In A Minute What Is Docker Container? Docker Swarm Commands What Is Docker Swarm? Demo: Docker Swarm For High Availability
  • 11. Copyright © 2017, edureka and/or its affiliates. All rights reserved. WebDriver vs. IDE vs. RC ➢ Data Warehouse is like a relational database designed for analytical needs. ➢ It functions on the basis of OLAP (Online Analytical Processing). ➢ It is a central location where consolidated data from multiple locations (databases) are stored.