{"id":3769,"date":"2021-11-06T10:28:35","date_gmt":"2021-11-06T01:28:35","guid":{"rendered":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3769"},"modified":"2021-11-13T15:03:57","modified_gmt":"2021-11-13T06:03:57","slug":"install-elasticsearch-plugins-with-docker","status":"publish","type":"post","link":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3769","title":{"rendered":"Install Elasticsearch plugins with docker"},"content":{"rendered":"<h1>Install Elasticsearch plugins with docker<\/h1>\n<p><a href=\"https:\/\/serverfault.com\/questions\/973325\/how-to-install-elasticsearch-plugins-with-docker-container\">\ucc38\uc870<\/a><\/p>\n<p>\ub3c4\ucee4 \ucee8\ud14c\uc774\ub108\ub85c \uc6b4\uc601\ub418\ub294 Elasticsearch \uc5d0 \ud50c\ub7ec\uadf8\uc778\uc744 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/p>\n<p>\ud30c\ub77c\ubbf8\ud130\ub85c \uc804\ub2ec\ud558\ub294 \ubc29\uc2dd\uc740 \uc5c6\ub294 \ub4ef \ud558\uace0, \ub3c4\ucee4 \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud574\uc57c \ud558\ub294 \ub4ef \ud569\ub2c8\ub2e4.<\/p>\n<h2>Dockerfile \uc0dd\uc131<\/h2>\n<pre><code class=\"language-bash\">vi Dockerfile\n----------------------------\nFROM docker.elastic.co\/elasticsearch\/elasticsearch:7.15.0\n\nRUN \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install --batch https:\/\/github.com\/skyer9\/elasticsearch-jaso-analyzer\/releases\/download\/v7.15.0\/jaso-analyzer-plugin-7.15.0-plugin.zip\n----------------------------<\/code><\/pre>\n<h2>\uc774\ubbf8\uc9c0 \uc0dd\uc131<\/h2>\n<pre><code class=\"language-bash\">docker build -t skyer9\/elasticsearch-jaso-analyzer:7.15.0 .<\/code><\/pre>\n<h2>\ub3c4\ucee4 \uc11c\ubc84\uc5d0 \ud478\uc2dc<\/h2>\n<pre><code class=\"language-bash\">docker login\ndocker push skyer9\/elasticsearch-jaso-analyzer:7.15.0<\/code><\/pre>\n<h2>analysis-icu, analysis-nori \ucd94\uac00<\/h2>\n<p><code>analysis-icu<\/code>, <code>analysis-nori<\/code> \ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-bash\">vi Dockerfile\n----------------------------\nFROM docker.elastic.co\/elasticsearch\/elasticsearch:7.15.1\n\nRUN \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install --batch https:\/\/github.com\/skyer9\/elasticsearch-jaso-analyzer\/releases\/download\/v7.15.1\/jaso-analyzer-plugin-7.15.1-plugin.zip\nRUN \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install --batch analysis-icu\nRUN \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install --batch analysis-nori\n----------------------------\n\ndocker build -t skyer9\/elasticsearch-jaso-analyzer:7.15.1.1 .\ndocker login\ndocker push skyer9\/elasticsearch-jaso-analyzer:7.15.1.1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install Elasticsearch plugins with docker \ucc38\uc870 \ub3c4\ucee4 \ucee8\ud14c\uc774\ub108\ub85c \uc6b4\uc601\ub418\ub294 Elasticsearch \uc5d0 \ud50c\ub7ec\uadf8\uc778\uc744 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4. \ud30c\ub77c\ubbf8\ud130\ub85c \uc804\ub2ec\ud558\ub294 \ubc29\uc2dd\uc740 \uc5c6\ub294 \ub4ef \ud558\uace0, \ub3c4\ucee4 \uc774\ubbf8\uc9c0\ub97c \uc0dd\uc131\ud574\uc57c \ud558\ub294 \ub4ef \ud569\ub2c8\ub2e4. Dockerfile \uc0dd\uc131 vi Dockerfile &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- FROM docker.elastic.co\/elasticsearch\/elasticsearch:7.15.0 RUN \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install &#8211;batch https:\/\/github.com\/skyer9\/elasticsearch-jaso-analyzer\/releases\/download\/v7.15.0\/jaso-analyzer-plugin-7.15.0-plugin.zip &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- \uc774\ubbf8\uc9c0 \uc0dd\uc131 docker build -t skyer9\/elasticsearch-jaso-analyzer:7.15.0 . \ub3c4\ucee4 \uc11c\ubc84\uc5d0 \ud478\uc2dc docker login docker push skyer9\/elasticsearch-jaso-analyzer:7.15.0\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3769\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3769","post","type-post","status-publish","format-standard","hentry","category-elasticsearch"],"_links":{"self":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3769"}],"version-history":[{"count":5,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3769\/revisions"}],"predecessor-version":[{"id":3846,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3769\/revisions\/3846"}],"wp:attachment":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}