docker-machine create -d virtualbox domain
docker-machine create -d virtualbox domain001
docker-machine ls
docker-machine ssh domain "docker swarm init --listen-addr $(docker-machine ip domain) --advertise-addr $(docker-machine ip domain)"
export manager_token=$(docker-machine ssh domain "docker swarm join-token manager -q")
docker-machine ssh domain001 "docker swarm join --token=${manager_token} --listen-addr $(docker-machine ip domain001) --advertise-addr $(docker-machine ip domain001) $(docker-machine ip domain)"
eval $(docker-machine env domain)
docker network create -d overlay domain_world
docker stack deploy -c docker-compose-domain.yml domain
docker service ls
curl -H Host:domain.local http://192.168.99.111
-
Notifications
You must be signed in to change notification settings - Fork 0
jefferson-william/docker-swarm-traefik-domain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published