{"id":46234,"date":"2017-03-06T10:18:47","date_gmt":"2017-03-06T04:48:47","guid":{"rendered":"https:\/\/2thenew.today\/blog\/?p=46234"},"modified":"2017-03-06T10:18:47","modified_gmt":"2017-03-06T04:48:47","slug":"how-to-setup-consul-multinode-cluster-with-docker","status":"publish","type":"post","link":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/","title":{"rendered":"How to Setup Consul Multinode Cluster with Docker?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46268\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul-logo.png\" alt=\"consul-logo\" width=\"947\" height=\"274\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul-logo.png 947w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul-logo-300x86.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul-logo-624x180.png 624w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/p>\n<p>Consul is a service discovery and a configuration system tool used to discover the services running on multiple nodes. It is both distributed and highly available. It provides a powerful interface to get a better picture of <a title=\"DevOps as a service\" href=\"https:\/\/2thenew.today\/devops-automation-consulting\">infrastructure and services<\/a> running on them. Consul gives us a variety of features that help to determine our infrastructure in a better way such as service and node discovery mechanism, health check, tagging system, system-wide key\/value storage, consensus-based election routines and so on.<\/p>\n<p style=\"text-align: justify\">In this blog, we showcase how to create a three-server cluster. We run the Consul master in <a title=\"Docker DevOps\" href=\"https:\/\/2thenew.today\/devops-chef-puppet-docker\">docker containers<\/a> and therefore we have it installed in all the three nodes.<\/p>\n<p style=\"text-align: justify\">Let us first set up a consul container on consul-node1 with a &#8211;bootstrap-expect flag. The number associated with this flag will be the number of nodes required to start bootstrapping. If you give this flag in all the nodes either of it will start the bootstrap process. Alternatively, node that is assigned the flag will start in particular.<\/p>\n<p>[js]<br \/>\ndocker run -d -h consul-node1 -v \/mnt:\/data \\<br \/>\n    -p 192.168.33.60:8300:8300 \\<br \/>\n    -p 192.168.33.60:8301:8301 \\<br \/>\n    -p 192.168.33.60:8301:8301\/udp \\<br \/>\n    -p 192.168.33.60:8302:8302 \\<br \/>\n    -p 192.168.33.60:8302:8302\/udp \\<br \/>\n    -p 192.168.33.60:8400:8400 \\<br \/>\n    -p 192.168.33.60:8500:8500 \\<br \/>\n    -p 172.17.0.1:53:53\/udp \\<br \/>\n    progrium\/consul -server -advertise 192.168.33.60 -bootstrap-expect 3<br \/>\n[\/js]<\/p>\n<p style=\"text-align: justify\">In this command, 192.168.33.60 is the machine IP while\u00a0172.17.0.1 is the docker0 interface IP. When we see the logs of the container it shows:<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46240\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul1.png\" alt=\"consul1\" width=\"1366\" height=\"244\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul1.png 1366w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul1-300x53.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul1-1024x182.png 1024w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul1-624x111.png 624w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p style=\"text-align: justify\">Similarly, when we see the UI of the consul we see no nodes appearing.<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46241\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul2.png\" alt=\"consul2\" width=\"1299\" height=\"206\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul2.png 1299w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul2-300x47.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul2-1024x162.png 1024w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul2-624x98.png 624w\" sizes=\"auto, (max-width: 1299px) 100vw, 1299px\" \/><\/p>\n<p style=\"text-align: justify\">Now run the consul containers on the two other machines with &#8211;advertise flag and &#8211;join flag. With &#8211;join flag we give the IP of the bootstrapping node, i.e, 192.168.33.60.<\/p>\n<p>[js]<br \/>\ndocker run -d -h consul-node2 -v \/mnt:\/data  \\<br \/>\n    -p 192.168.33.61:8300:8300 \\<br \/>\n    -p 192.168.33.61:8301:8301 \\<br \/>\n    -p 192.168.33.61:8301:8301\/udp \\<br \/>\n    -p 192.168.33.61:8302:8302 \\<br \/>\n    -p 192.168.33.61:8302:8302\/udp \\<br \/>\n    -p 192.168.33.61:8400:8400 \\<br \/>\n    -p 192.168.33.61:8500:8500 \\<br \/>\n    -p 172.17.0.1:53:53\/udp \\<br \/>\n    progrium\/consul -server -advertise 192.168.33.61 -join 192.168.33.60<br \/>\n[\/js]<\/p>\n<p style=\"text-align: justify\">When the other container is up and running, we see the logs of the first container. You can see that it tries to join the cluster. However, since there are only two nodes, \u00a0bootstrap process has not yet begun.<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46242\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul3.png\" alt=\"consul3\" width=\"1360\" height=\"90\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul3.png 1360w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul3-300x19.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul3-1024x67.png 1024w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul3-624x41.png 624w\" sizes=\"auto, (max-width: 1360px) 100vw, 1360px\" \/><\/p>\n<p style=\"text-align: justify\">Next, run the third consul container on consul-node3 and observe the logs of the\u00a0first container. As you can see, the cluster leadership is complete and we have 3 node consul cluster functioning.<\/p>\n<p>[js]<br \/>\ndocker run -d -h consul-node3 -v \/mnt:\/data  \\<br \/>\n    -p 192.168.33.62:8300:8300 \\<br \/>\n    -p 192.168.33.62:8301:8301 \\<br \/>\n    -p 192.168.33.62:8301:8301\/udp \\<br \/>\n    -p 192.168.33.62:8302:8302 \\<br \/>\n    -p 192.168.33.62:8302:8302\/udp \\<br \/>\n    -p 192.168.33.62:8400:8400 \\<br \/>\n    -p 192.168.33.62:8500:8500 \\<br \/>\n    -p 172.17.0.1:53:53\/udp \\<br \/>\n    progrium\/consul -server -advertise 192.168.33.62 -join 192.168.33.60<br \/>\n[\/js]<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46243\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul4.png\" alt=\"consul4\" width=\"1297\" height=\"336\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul4.png 1297w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul4-300x77.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul4-1024x265.png 1024w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul4-624x161.png 624w\" sizes=\"auto, (max-width: 1297px) 100vw, 1297px\" \/><\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46244\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul5.png\" alt=\"consul5\" width=\"1366\" height=\"359\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul5.png 1366w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul5-300x78.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul5-1024x269.png 1024w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul5-624x163.png 624w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p style=\"text-align: justify\">Consequently, when we run a docker container on consul-node3, it is not discovered by consul because we are not running any registrators. Thus we need to run 3 registrators for and on each node so that the data is in sync. These registrators give necessary information of the cluster to the consul master.<\/p>\n<p>[js]<br \/>\ndocker run -d &#8211;name=registrator1 &#8211;net=host &#8211;volume=\/var\/run\/docker.sock:\/tmp\/docker.sock gliderlabs\/registrator:latest consul:\/\/192.168.33.60:8500<br \/>\ndocker run -d &#8211;name=registrator2 &#8211;net=host &#8211;volume=\/var\/run\/docker.sock:\/tmp\/docker.sock gliderlabs\/registrator:latest consul:\/\/192.168.33.61:8500<br \/>\ndocker run -d &#8211;name=registrator3 &#8211;net=host &#8211;volume=\/var\/run\/docker.sock:\/tmp\/docker.sock gliderlabs\/registrator:latest consul:\/\/192.168.33.62:8500<br \/>\n[\/js]<\/p>\n<p>This will be done on all the nodes. As you can see, after running registrators on all nodes, the services are running perfectly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46248\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul6.png\" alt=\"consul6\" width=\"1305\" height=\"502\" srcset=\"https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul6.png 1305w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul6-300x115.png 300w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul6-1024x393.png 1024w, https:\/\/2thenew.today\/blog\/wp-content\/uploads\/2017\/02\/consul6-624x240.png 624w\" sizes=\"auto, (max-width: 1305px) 100vw, 1305px\" \/><\/p>\n<p>We are through with setting up Consul Multinode Cluster With Docker. I hope the blog was useful. Watch out this space for more such knowledge.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Consul is a service discovery and a configuration system tool used to discover the services running on multiple nodes. It is both distributed and highly available. It provides a powerful interface to get a better picture of infrastructure and services running on them. Consul gives us a variety of features that help to determine our [&hellip;]<\/p>\n","protected":false},"author":969,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":76,"footnotes":""},"categories":[2348,1],"tags":[178,4435,4494,1891,1892,1883],"class_list":["post-46234","post","type-post","status-publish","format-standard","hentry","category-devops-technology","category-technology","tag-bootstrap","tag-consul","tag-containerization","tag-containers","tag-devops","tag-docker"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Shivam Agrawal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#article\",\"name\":\"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog\",\"headline\":\"How to Setup Consul Multinode Cluster with Docker?\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/shivam-agrawal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2017\\\/02\\\/consul-logo.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#articleImage\"},\"datePublished\":\"2017-03-06T10:18:47+05:30\",\"dateModified\":\"2017-03-06T10:18:47+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#webpage\"},\"articleSection\":\"DevOps, Technology, bootstrap, Consul, Containerization, containers, devops, docker\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#listItem\",\"name\":\"How to Setup Consul Multinode Cluster with Docker?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#listItem\",\"position\":3,\"name\":\"How to Setup Consul Multinode Cluster with Docker?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/shivam-agrawal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/shivam-agrawal\\\/\",\"name\":\"Shivam Agrawal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/736102b9-6ed5-4e53-8aa4-522dbe873897_167-Shivam-Agrawal-PROFILEPICTURE.jpg\",\"width\":96,\"height\":96,\"caption\":\"Shivam Agrawal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/\",\"name\":\"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog\",\"description\":\"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-setup-consul-multinode-cluster-with-docker\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/shivam-agrawal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/shivam-agrawal\\\/#author\"},\"datePublished\":\"2017-03-06T10:18:47+05:30\",\"dateModified\":\"2017-03-06T10:18:47+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog","description":"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.","canonical_url":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#article","name":"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog","headline":"How to Setup Consul Multinode Cluster with Docker?","author":{"@id":"https:\/\/2thenew.today\/blog\/author\/shivam-agrawal\/#author"},"publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/consul-logo.png","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#articleImage"},"datePublished":"2017-03-06T10:18:47+05:30","dateModified":"2017-03-06T10:18:47+05:30","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#webpage"},"articleSection":"DevOps, Technology, bootstrap, Consul, Containerization, containers, devops, docker"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.today\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.today\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#listItem","name":"How to Setup Consul Multinode Cluster with Docker?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#listItem","position":3,"name":"How to Setup Consul Multinode Cluster with Docker?","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.today\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.today\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.today\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.today\/blog\/author\/shivam-agrawal\/#author","url":"https:\/\/2thenew.today\/blog\/author\/shivam-agrawal\/","name":"Shivam Agrawal","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/736102b9-6ed5-4e53-8aa4-522dbe873897_167-Shivam-Agrawal-PROFILEPICTURE.jpg","width":96,"height":96,"caption":"Shivam Agrawal"}},{"@type":"WebPage","@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#webpage","url":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/","name":"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog","description":"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.today\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.today\/blog\/author\/shivam-agrawal\/#author"},"creator":{"@id":"https:\/\/2thenew.today\/blog\/author\/shivam-agrawal\/#author"},"datePublished":"2017-03-06T10:18:47+05:30","dateModified":"2017-03-06T10:18:47+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.today\/blog\/#website","url":"https:\/\/2thenew.today\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.today\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog","og:description":"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.","og:url":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/","og:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"How to Setup Consul Multinode Cluster with Docker? | TO THE NEW Blog","twitter:description":"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.","twitter:image":"https:\/\/2thenew.today\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"46234","title":"How to Setup Consul Multinode Cluster with Docker? | #site_title","description":"In this blog, we will walk you through the process of setting up Consul Multinode Cluster with Docker.","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:34:09","updated":"2024-02-29 08:41:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.today\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Setup Consul Multinode Cluster with Docker?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.today\/blog"},{"label":"Technology","link":"https:\/\/2thenew.today\/blog\/category\/technology\/"},{"label":"How to Setup Consul Multinode Cluster with Docker?","link":"https:\/\/2thenew.today\/blog\/how-to-setup-consul-multinode-cluster-with-docker\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/46234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/users\/969"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/comments?post=46234"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/posts\/46234\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/media?parent=46234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/categories?post=46234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.today\/blog\/wp-json\/wp\/v2\/tags?post=46234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}