Skip to content

Leluke/docker-presentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

docker-presentation

Prerequisites

Make sure your local system has VirtualBoxand docker-machine installed.

$ docker-machine ls

$ docker-machine create -d virtualbox local

$ eval "$(docker-machine env local)"

$ docker run swarm create

This command returned a token like this f03e229c51d22c966b5523f53b58e3ad. Save it.

A single system in your network is known as your Docker Swarm manager. The swarm manager orchestrates and schedules containers on the entire cluster.

$ docker-machine create
-d virtualbox
--swarm
--swarm-master
--swarm-discovery token://
swarm-master

$ docker-machine create
-d virtualbox
--swarm
--swarm-discovery token://
swarm-agent-00

$ docker-machine create
-d virtualbox
--swarm
--swarm-discovery token://
swarm-agent-01

Direct the Swarm

$ eval $(docker-machine env --swarm swarm-master)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published