What is Docker Swarm ? Learn Docker Swarm Commands

Views:
 
Category: Entertainment
     
 

Presentation Description

Learn Docker Swarm Orchestration and docker-machine Commands. A swarm is a group of machines that are running Docker & joined into a cluster.

Comments

Presentation Transcript

What is Docker Swarm? Learn Docker Swarm Commands:

What is Docker Swarm? Learn Docker Swarm Commands Learn Docker Swarm Orchestration and docker-machine Commands . A swarm is a group of machines that are running Dockers & joined into a cluster.

What is docker Swarm? :

A  swarm  is a group of machines that are running Docker and joined into a cluster. Swarm turns multiple docker hosts into a single, virtual docker host. Docker Swarm is a tool for Container Orchestration . What is docker Swarm?

Requirements :

Docker version 1.13 or higher . Command to install docker-machine in Ubuntu base=https ://github.com/docker/machine/releases/download / v0.16.0   && curl -L $base/docker-machine-$( uname -s )- $( uname -m) >/ tmp /docker-machine && sudo install / tmp /docker-machine / usr /local/bin/docker-machine Command to check the docker-machine version :- $ docker-machine version $ docker-machine -v Requirements

Working with swarm.:

Step1: Create docker machine To check all docker-machine commands . $ docker-machine Command to create docker machine node . $ docker-machine create --driver virtualbox manager1 Need driver to create machine: we going to use virtualbox . $ sudo apt-get install virtualbox Now create a docker machine manager . $ docker-machine create --driver virtualbox manager1 To see how to connect your Docker $ docker-machine env manager1 Working with swarm.

Slide5:

Step2: Check machine created successfully 'docker-machine ls' to list out the machines $ docker-machine ls The machine has been created, it's active the driver. IP of this particular machine<. li ="">   $ docker-machine ip manager1 Now we need to create more machine with same command $ docker-machine create --driver virtualbox worker1.1 $ docker-machine create --driver virtualbox worker1.2

Slide6:

For More Info : https:// blog.paradisetechsoft.com/a-small introduction-to-docker-swarm-orchestration /

authorStream Live Help