Yasuhiro Horimoto
null+****@clear*****
Mon May 7 13:26:55 JST 2018
Yasuhiro Horimoto 2018-05-07 13:26:55 +0900 (Mon, 07 May 2018) New Revision: 3c470665f6c0b6c5e3fa8a3c4843d98790a5fb09 https://github.com/groonga/groonga.org/commit/3c470665f6c0b6c5e3fa8a3c4843d98790a5fb09 Message: Update documents Added files: docs/install/docker.html ja/docs/install/docker.html Added: docs/install/docker.html (+181 -0) 100644 =================================================================== --- /dev/null +++ docs/install/docker.html 2018-05-07 13:26:55 +0900 (9e68cfd3) @@ -0,0 +1,181 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> + <head> + <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>2.8. Docker — Groonga v8.0.2 documentation</title> + <link rel="stylesheet" href="../static/groonga.css" type="text/css" /> + <link rel="stylesheet" href="../static/pygments.css" type="text/css" /> + <script type="text/javascript" src="../static/documentation_options.js"></script> + <script type="text/javascript" src="../static/jquery.js"></script> + <script type="text/javascript" src="../static/underscore.js"></script> + <script type="text/javascript" src="../static/doctools.js"></script> + <link rel="shortcut icon" href="../static/favicon.ico"/> + <link rel="index" title="Index" href="../genindex.html" /> + <link rel="search" title="Search" href="../search.html" /> + <link rel="next" title="2.9. Others" href="others.html" /> + <link rel="prev" title="2.7. Oracle Solaris" href="solaris.html" /> + <meta property="fb:page_id" content="201193596592346" /><!-- groonga --> + <meta property="fb:admins" content="664204556" /><!-- kouhei.sutou --> + <meta property="og:type" content="product" /> + <meta property="og:image" content="http://groonga.org/images/logos/groonga-icon-full-size.png" /> + <meta property="og:site_name" content="groonga" /> + + <link rel="stylesheet" href="/css/sphinx.css" type="text/css" /> + </head> + <body> + <div id="fb-root"></div> + +<div class="header"> + <h1 class="title"> + <a id="top-link" href="../../"> + <span class="project">groonga</span> + <span class="separator">-</span> + <span class="description">An open-source fulltext search engine and column store.</span> + </a> + </h1> + + <div class="facebook-buttons"> + <fb:like href="http://www.facebook.com/pages/groonga/201193596592346" + layout="standard" + width="290"></fb:like> + </div> + <div class="other-language-links"> + + <ul> + <li><a href="../../ja/docs/install/docker.html">日本語</a></li> + </ul> + </div> +</div> + + + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="../genindex.html" title="General Index" + accesskey="I">index</a></li> + <li class="right" > + <a href="others.html" title="2.9. Others" + accesskey="N">next</a> |</li> + <li class="right" > + <a href="solaris.html" title="2.7. Oracle Solaris" + accesskey="P">previous</a> |</li> + <li class="nav-item nav-item-0"><a href="../index.html">Groonga v8.0.2 documentation</a> »</li> + <li class="nav-item nav-item-1"><a href="../install.html" accesskey="U">2. Install</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="docker"> +<h1>2.8. Docker<a class="headerlink" href="#docker" title="Permalink to this headline">¶</a></h1> +<p>This section describes how to install Groonga on Docker. You can +install Groonga image via DockerHub.</p> +<p>We distribute Alpine Linux Groonga docker image on DockerHub.</p> +<div class="section" id="pulling-image"> +<h2>2.8.1. Pulling image<a class="headerlink" href="#pulling-image" title="Permalink to this headline">¶</a></h2> +<p>Install:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% docker pull groonga/groonga:latest +</pre></div> +</div> +<p>Then run it with the following command:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% docker run -v /mnt/db:/path/to/db groonga/groonga /mnt/db +</pre></div> +</div> +</div> +<div class="section" id="with-docker-compose"> +<h2>2.8.2. With docker-compose<a class="headerlink" href="#with-docker-compose" title="Permalink to this headline">¶</a></h2> +<p>Create docker-compose.yml as follows:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>version: '3' +services: + groonga: + image: groonga/groonga + volumes: + - ./groonga:/mnt/db + ports: + - "10041:10041" + command: ["-n", "/mnt/db/data.db"] +</pre></div> +</div> +<p>Then run it with the following command:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% docker-compose run groonga +</pre></div> +</div> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="../index.html">Table Of Contents</a></h3> + <ul> +<li><a class="reference internal" href="#">2.8. Docker</a><ul> +<li><a class="reference internal" href="#pulling-image">2.8.1. Pulling image</a></li> +<li><a class="reference internal" href="#with-docker-compose">2.8.2. With docker-compose</a></li> +</ul> +</li> +</ul> + + <h4>Previous topic</h4> + <p class="topless"><a href="solaris.html" + title="previous chapter">2.7. Oracle Solaris</a></p> + <h4>Next topic</h4> + <p class="topless"><a href="others.html" + title="next chapter">2.9. Others</a></p> +<div id="searchbox" style="display: none" role="search"> + <h3>Quick search</h3> + <div class="searchformwrapper"> + <form class="search" action="../search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="Go" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + </div> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>Navigation</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="../genindex.html" title="General Index" + >index</a></li> + <li class="right" > + <a href="others.html" title="2.9. Others" + >next</a> |</li> + <li class="right" > + <a href="solaris.html" title="2.7. Oracle Solaris" + >previous</a> |</li> + <li class="nav-item nav-item-0"><a href="../index.html">Groonga v8.0.2 documentation</a> »</li> + <li class="nav-item nav-item-1"><a href="../install.html" >2. Install</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2009-2018, Brazil, Inc. + </div> + <script src="http://connect.facebook.net/en_US/all.js"></script> + + <script> + FB.init({ + appId : null, + status : true, // check login status + cookie : true, // enable cookies to allow the server to access the session + xfbml : true // parse XFBML + }); + </script> + </body> + +</html> \ No newline at end of file Added: ja/docs/install/docker.html (+181 -0) 100644 =================================================================== --- /dev/null +++ ja/docs/install/docker.html 2018-05-07 13:26:55 +0900 (13f3754c) @@ -0,0 +1,181 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" lang="ja"> + <head> + <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>2.8. Docker — Groonga v8.0.2ドキュメント</title> + <link rel="stylesheet" href="../static/groonga.css" type="text/css" /> + <link rel="stylesheet" href="../static/pygments.css" type="text/css" /> + <script type="text/javascript" src="../static/documentation_options.js"></script> + <script type="text/javascript" src="../static/jquery.js"></script> + <script type="text/javascript" src="../static/underscore.js"></script> + <script type="text/javascript" src="../static/doctools.js"></script> + <script type="text/javascript" src="../static/translations.js"></script> + <link rel="shortcut icon" href="../static/favicon.ico"/> + <link rel="index" title="索引" href="../genindex.html" /> + <link rel="search" title="検索" href="../search.html" /> + <link rel="next" title="2.9. その他" href="others.html" /> + <link rel="prev" title="2.7. Oracle Solaris" href="solaris.html" /> + <meta property="fb:page_id" content="201193596592346" /><!-- groonga --> + <meta property="fb:admins" content="664204556" /><!-- kouhei.sutou --> + <meta property="og:type" content="product" /> + <meta property="og:image" content="http://groonga.org/images/logos/groonga-icon-full-size.png" /> + <meta property="og:site_name" content="groonga" /> + + <link rel="stylesheet" href="/css/sphinx.css" type="text/css" /> + </head> + <body> + <div id="fb-root"></div> + +<div class="header"> + <h1 class="title"> + <a id="top-link" href="../../"> + <span class="project">groonga</span> + <span class="separator">-</span> + <span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span> + </a> + </h1> + + <div class="facebook-buttons"> + <fb:like href="http://www.facebook.com/pages/groonga/201193596592346" + layout="standard" + width="290"></fb:like> + </div> + <div class="other-language-links"> + + <ul> + <li><a href="../../../docs/install/docker.html">English</a></li> + </ul> + </div> +</div> + + + <div class="related" role="navigation" aria-label="related navigation"> + <h3>ナビゲーション</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="../genindex.html" title="総合索引" + accesskey="I">索引</a></li> + <li class="right" > + <a href="others.html" title="2.9. その他" + accesskey="N">次へ</a> |</li> + <li class="right" > + <a href="solaris.html" title="2.7. Oracle Solaris" + accesskey="P">前へ</a> |</li> + <li class="nav-item nav-item-0"><a href="../index.html">Groonga v8.0.2ドキュメント</a> »</li> + <li class="nav-item nav-item-1"><a href="../install.html" accesskey="U">2. インストール</a> »</li> + </ul> + </div> + + <div class="document"> + <div class="documentwrapper"> + <div class="bodywrapper"> + <div class="body" role="main"> + + <div class="section" id="docker"> +<h1>2.8. Docker<a class="headerlink" href="#docker" title="このヘッドラインへのパーマリンク">¶</a></h1> +<p>このセクションではDockerでGroongaをインストールする方法を説明します。GroongaイメージはDockerHub経由でインストールできます。</p> +<p>DockerHubにおいて、Alpine LinuxのGroongaのDockerイメージを配布しています。</p> +<div class="section" id="pulling-image"> +<h2>2.8.1. イメージの取得<a class="headerlink" href="#pulling-image" title="このヘッドラインへのパーマリンク">¶</a></h2> +<p>インストール:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% docker pull groonga/groonga:latest +</pre></div> +</div> +<p>次のコマンドで実行します:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% docker run -v /mnt/db:/path/to/db groonga/groonga /mnt/db +</pre></div> +</div> +</div> +<div class="section" id="with-docker-compose"> +<h2>2.8.2. docker-composeを用いる場合<a class="headerlink" href="#with-docker-compose" title="このヘッドラインへのパーマリンク">¶</a></h2> +<p>docker-compose.ymlを次のように作成します:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>version: '3' +services: + groonga: + image: groonga/groonga + volumes: + - ./groonga:/mnt/db + ports: + - "10041:10041" + command: ["-n", "/mnt/db/data.db"] +</pre></div> +</div> +<p>次のコマンドで実行します:</p> +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>% docker-compose run groonga +</pre></div> +</div> +</div> +</div> + + + </div> + </div> + </div> + <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> + <div class="sphinxsidebarwrapper"> + <h3><a href="../index.html">目次</a></h3> + <ul> +<li><a class="reference internal" href="#">2.8. Docker</a><ul> +<li><a class="reference internal" href="#pulling-image">2.8.1. イメージの取得</a></li> +<li><a class="reference internal" href="#with-docker-compose">2.8.2. docker-composeを用いる場合</a></li> +</ul> +</li> +</ul> + + <h4>前のトピックへ</h4> + <p class="topless"><a href="solaris.html" + title="前の章へ">2.7. Oracle Solaris</a></p> + <h4>次のトピックへ</h4> + <p class="topless"><a href="others.html" + title="次の章へ">2.9. その他</a></p> +<div id="searchbox" style="display: none" role="search"> + <h3>クイック検索</h3> + <div class="searchformwrapper"> + <form class="search" action="../search.html" method="get"> + <input type="text" name="q" /> + <input type="submit" value="検索" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + </div> +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> + </div> + </div> + <div class="clearer"></div> + </div> + <div class="related" role="navigation" aria-label="related navigation"> + <h3>ナビゲーション</h3> + <ul> + <li class="right" style="margin-right: 10px"> + <a href="../genindex.html" title="総合索引" + >索引</a></li> + <li class="right" > + <a href="others.html" title="2.9. その他" + >次へ</a> |</li> + <li class="right" > + <a href="solaris.html" title="2.7. Oracle Solaris" + >前へ</a> |</li> + <li class="nav-item nav-item-0"><a href="../index.html">Groonga v8.0.2ドキュメント</a> »</li> + <li class="nav-item nav-item-1"><a href="../install.html" >2. インストール</a> »</li> + </ul> + </div> + <div class="footer" role="contentinfo"> + © Copyright 2009-2018, Brazil, Inc. + </div> + <script src="http://connect.facebook.net/ja_JP/all.js"></script> + + <script> + FB.init({ + appId : null, + status : true, // check login status + cookie : true, // enable cookies to allow the server to access the session + xfbml : true // parse XFBML + }); + </script> + </body> + +</html> \ No newline at end of file -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180507/2407189c/attachment-0001.htm