{"id":89184,"date":"2020-05-22T11:00:00","date_gmt":"2020-05-22T08:00:00","guid":{"rendered":"https:\/\/examples.javacodegeeks.com\/?p=89184"},"modified":"2020-06-12T10:35:45","modified_gmt":"2020-06-12T07:35:45","slug":"docker-elasticsearch-integration-tutorial","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/","title":{"rendered":"Docker Elasticsearch Integration Tutorial"},"content":{"rendered":"<p>Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the resources so I will keep this tutorial simple and easy.<\/p>\n<h2>1. Introduction to Docker<\/h2>\n<p>In the present world, <strong>Docker<\/strong> is an important term,<\/p>\n<ul>\n<li>Often used in CI\/CD platform that packages and runs the application with its dependencies inside a container<\/li>\n<li>Is a standard for Linux Containers<\/li>\n<li>A <em>Container<\/em> is a runtime that runs under any Linux kernel and provides a private machine-like space under Linux<\/li>\n<\/ul>\n<h3>1.1 Docker Terminology<\/h3>\n<ul>\n<li><strong>Image<\/strong>: Representation of Docker container i.e. a JAR or WAR file in Java<\/li>\n<li><strong>Container<\/strong>: Runtime of Docker i.e. a deployed and running Docker image. For example, an executable Spring Boot jar<\/li>\n<li><strong>Engine<\/strong>: The code that manages, creates and runs the Docker containers<\/li>\n<li><strong>Hub<\/strong>: A public developers registry to distribute their code<\/li>\n<li><strong>Repository<\/strong>: A collection of Docker related images i.e. different versions of the same application<\/li>\n<\/ul>\n<h3>1.2 Docker Command Basics<\/h3>\n<p>Here\u2019s an example command.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"817\" height=\"286\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/Docker-command-syntax-img1.jpg\" alt=\"Docker Elasticsearch - Basic structure\" class=\"wp-image-89185\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/Docker-command-syntax-img1.jpg 817w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/Docker-command-syntax-img1-300x105.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/Docker-command-syntax-img1-768x269.jpg 768w\" sizes=\"(max-width: 817px) 100vw, 817px\" \/><figcaption>Fig. 1: Basic structure<\/figcaption><\/figure>\n<\/div>\n<h3>1.3 Need for using Docker<\/h3>\n<ul>\n<li>For environment replication, while the code runs locally on the machine<\/li>\n<li>For numerous deployment phases i.e. Dev\/Test\/QA<\/li>\n<li>For version control and distributing the application\u2019s OS within a team<\/li>\n<\/ul>\n<h3>1.4 Setting up Docker<\/h3>\n<p>If someone needs to go through the Docker installation, please watch <a href=\"https:\/\/www.youtube.com\/watch?v=R-ZMkGvh-9Y\" target=\"_blank\" rel=\"noopener noreferrer\">this<\/a> video.<\/p>\n<p>To start with this tutorial, we are hoping that users at present have the Docker installation completed.<\/p>\n<h2>2. Docker Elasticsearch Integration Tutorial<\/h2>\n<p>Before going any further let us take a look at the Elasticsearch introduction. <strong>Elasticsearch<\/strong> is a distributed and open-source full-text search and analytics engine that is primarily used in the single-page applications (popularly known as SPA\u2019s).<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<ul>\n<li>It offers a nice replacement for NoSQL databases like &#8211; MongoDB and RavenDB<\/li>\n<li>Used denormalization to improve the search performance and store up to petabytes of structured and non-structured data<\/li>\n<li>Uses JSON objects as responses<\/li>\n<li>Its key concepts revolve around the following \u2013\n<ul>\n<li><em>Node<\/em>: Refers to a single instance<\/li>\n<li><em>Cluster<\/em>: Basically a collection of one or more nodes<\/li>\n<li><em>Index<\/em>: Collection of different types of documents and their properties. Also supports <em>sharding<\/em> in order to improve performance<\/li>\n<li><em>Document<\/em>: Collection of fields<\/li>\n<li><em>Replicas<\/em>: Offers to create replicas of their indexes and shards<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Let us go ahead and explore the steps required to start the Elasticsearch integration with Docker.<\/p>\n<h3>2.1 Pull the image<\/h3>\n<p>This is the basic step where obtaining the Elasticsearch image for Docker is simple as issuing the <code>docker pull<\/code> command against the registry.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Pull the Docker image<\/em><\/span><\/p>\n<pre class=\"brush:plain; wrap-lines:false;\"># To pull the elastic search image from docker hub.\ndocker pull docker.elastic.co\/elasticsearch\/elasticsearch:7.7.0\n<\/pre>\n<h3>2.2 Starting the single node cluster<\/h3>\n<p>For the tutorial purpose, we are starting a single-node Elasticsearch cluster by specifying the <a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/bootstrap-checks.html#single-node-discovery\" target=\"_blank\" rel=\"noopener noreferrer\">single node discovery<\/a> to bypass certain <a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/bootstrap-checks.html\" target=\"_blank\" rel=\"noopener noreferrer\">bootstrapping checks<\/a>.<\/p>\n<p><span style=\"text-decoration: underline\"><em>Pull the Docker image<\/em><\/span><\/p>\n<pre class=\"brush:plain; wrap-lines:false;\"># To start the docker container in foreground. \n# If user wants to run the container in the background they can add the '-d' attribute to the run command.\ndocker run -p 9200:9200 -p 9300:9300 -e \"discovery.type=single-node\" docker.elastic.co\/elasticsearch\/elasticsearch:7.7.0\n<\/pre>\n<p>Make note \u2013[ulp id=&#8217;6PVIvOz3kDbYmNRn&#8217;]<\/p>\n<ul>\n<li>We can also start the container via the docker-compose file (which in the present time is considered as an efficient approach)<\/li>\n<li>We can make use of the <em>volume attribute<\/em> (<code>-v<\/code>) as well to attach a permanent disk to the Elasticsearch container. This helps to ensure that if the container is restarted the data is not lost<\/li>\n<li>Developers can use the <code>docker logs &lt;container_name&gt;<\/code> command to view the container logs<\/li>\n<\/ul>\n<h4>2.2.1 Elasticsearch configuration via docker-compose<\/h4>\n<p>To address the points stated above here is the simple Elasticsearch configuration via the docker-compose file.<\/p>\n<p><span style=\"text-decoration: underline\"><em>elasticsearch-7.7.0-compose-volume.yaml<\/em><\/span><\/p>\n<pre class=\"brush:plain; wrap-lines:false;\">version: '3.3'\nservices:\n  elasticsearch:\n    image: docker.elastic.co\/elasticsearch\/elasticsearch:7.7.0\n    container_name: elasticsearch_development_container\n    volumes:\n      - \/var\/db\/data\/elasticsearch:\/Users\/docker_volumes\/elasticsearch_bkp\n    ports:\n      - 9200:9200\n      - 9300:9300\n    environment:\n      ES_JAVA_OPTS: '-Xms256m -Xmx256m'\n      network.bind_host: 0.0.0.0\n      network.host: 0.0.0.0\n      discovery.type: single-node\n<\/pre>\n<p>Run the docker-compose file with the following command \u2013<\/p>\n<p><code>docker-compose -f elasticsearch-7.7.0-compose-volume.yaml up -d<\/code><\/p>\n<h2>3. Output<\/h2>\n<p>Once the <code>docker run<\/code> command is fired and if everyone thing goes well developers can navigate to the following URL \u2013 <code>localhost:9200<\/code> and they will get an output as shown in Fig. 2.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"818\" height=\"464\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/docker-elastic-search-demo-tutorial-1.jpg\" alt=\"Docker Elasticsearch - Elasticsearch JSON info\" class=\"wp-image-89186\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/docker-elastic-search-demo-tutorial-1.jpg 818w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/docker-elastic-search-demo-tutorial-1-300x170.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/docker-elastic-search-demo-tutorial-1-768x436.jpg 768w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><figcaption>Fig. 2: Elasticsearch JSON info<\/figcaption><\/figure>\n<\/div>\n<p>Alternatively, they can also hit the cluster health URL (<code>http:\/\/127.0.0.1:9200\/_cat\/health<\/code>) to confirm if everything is correct or not. Try out these commands in your development environment to practice and learn.<\/p>\n<h2>4. Conclusion<\/h2>\n<p>In this tutorial, we saw the following:<\/p>\n<ul>\n<li>Introduction to Docker and Elasticsearch<\/li>\n<li>Commands to run docker in a single-node cluster and via the docker-compose file<\/li>\n<\/ul>\n<p>That is all for this tutorial and I hope the tutorial will help you to set up Elasticsearch on Docker. Happy learning and do not forget to share!<\/p>\n<h2>5. Download the source code<\/h2>\n<div class=\"download\"><strong>Download<\/strong><br \/>You can download the full source code of this example here: <a href=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/05\/Docker-Elasticsearch-Integration-Tutorial.zip\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Docker Elasticsearch Integration Tutorial<\/strong><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the resources so I will keep this tutorial simple and easy. 1. Introduction to Docker In the present world, Docker is an important term, Often used in CI\/CD platform that packages &hellip;<\/p>\n","protected":false},"author":119,"featured_media":31013,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1354],"tags":[1276,1319],"class_list":["post-89184","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","tag-docker","tag-docker-compose"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Docker Elasticsearch Integration Tutorial - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker Elasticsearch Integration Tutorial - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-22T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-12T07:35:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Yatin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yatin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\"},\"author\":{\"name\":\"Yatin\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13\"},\"headline\":\"Docker Elasticsearch Integration Tutorial\",\"datePublished\":\"2020-05-22T08:00:00+00:00\",\"dateModified\":\"2020-06-12T07:35:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\"},\"wordCount\":687,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"keywords\":[\"docker\",\"docker-compose\"],\"articleSection\":[\"Docker\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\",\"name\":\"Docker Elasticsearch Integration Tutorial - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"datePublished\":\"2020-05-22T08:00:00+00:00\",\"dateModified\":\"2020-06-12T07:35:45+00:00\",\"description\":\"Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DevOps\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/devops\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/devops\/docker\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Docker Elasticsearch Integration Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13\",\"name\":\"Yatin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg\",\"caption\":\"Yatin\"},\"description\":\"An experience full-stack engineer well versed with Core Java, Spring\/Springboot, MVC, Security, AOP, Frontend (Angular &amp; React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).\",\"sameAs\":[\"https:\/\/www.javacodegeeks.com\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/yatin-batra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Docker Elasticsearch Integration Tutorial - Java Code Geeks","description":"Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Docker Elasticsearch Integration Tutorial - Java Code Geeks","og_description":"Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the","og_url":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2020-05-22T08:00:00+00:00","article_modified_time":"2020-06-12T07:35:45+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","type":"image\/jpeg"}],"author":"Yatin","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Yatin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/"},"author":{"name":"Yatin","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13"},"headline":"Docker Elasticsearch Integration Tutorial","datePublished":"2020-05-22T08:00:00+00:00","dateModified":"2020-06-12T07:35:45+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/"},"wordCount":687,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","keywords":["docker","docker-compose"],"articleSection":["Docker"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/","url":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/","name":"Docker Elasticsearch Integration Tutorial - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","datePublished":"2020-05-22T08:00:00+00:00","dateModified":"2020-06-12T07:35:45+00:00","description":"Welcome readers, in this tutorial, we will discuss how to start (or integrate) ElasticSearch on Docker. Please note as I have limited access to the","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2015\/12\/docker-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/docker-elasticsearch-integration-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"DevOps","item":"https:\/\/examples.javacodegeeks.com\/category\/devops\/"},{"@type":"ListItem","position":3,"name":"Docker","item":"https:\/\/examples.javacodegeeks.com\/category\/devops\/docker\/"},{"@type":"ListItem","position":4,"name":"Docker Elasticsearch Integration Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/9874407a37b028e8be3276e2b5960d13","name":"Yatin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2023\/09\/cropped-Yatin-Batra_avatar_1515758148-96x96.jpg","caption":"Yatin"},"description":"An experience full-stack engineer well versed with Core Java, Spring\/Springboot, MVC, Security, AOP, Frontend (Angular &amp; React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).","sameAs":["https:\/\/www.javacodegeeks.com"],"url":"https:\/\/examples.javacodegeeks.com\/author\/yatin-batra\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/89184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=89184"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/89184\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/31013"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=89184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=89184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=89184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}