Hiroshi Hatake
null+****@clear*****
Tue Apr 24 16:09:44 JST 2018
Hiroshi Hatake 2018-04-04 17:40:39 +0900 (Wed, 04 Apr 2018) New Revision: 3f408d927bb3c05f3c8a5ad871a91a790039ad77 https://github.com/groonga/groonga/commit/3f408d927bb3c05f3c8a5ad871a91a790039ad77 Merged b8a412c: Merge pull request #836 from cosmo0920/add-docker-installation-document Message: doc install: Add docker installation document Added files: doc/source/install/docker.rst Modified files: doc/source/install.rst Modified: doc/source/install.rst (+1 -0) =================================================================== --- doc/source/install.rst 2018-04-04 09:48:57 +0900 (5e805bb12) +++ doc/source/install.rst 2018-04-04 17:40:39 +0900 (c635f552a) @@ -25,4 +25,5 @@ size data. install/centos install/fedora install/solaris + install/docker install/others Added: doc/source/install/docker.rst (+43 -0) 100644 =================================================================== --- /dev/null +++ doc/source/install/docker.rst 2018-04-04 17:40:39 +0900 (f5c85adee) @@ -0,0 +1,43 @@ +.. -*- rst -*- +.. Groonga Project + +.. highlightlang:: none + +Docker +======= + +This section describes how to install Groonga on Docker. You can +install Groonga image via DockerHub. + +We distribute Alpine Linux Groonga docker image on DockerHub. + +Pulling image +------------- + +Install:: + + % docker pull groonga/groonga:latest + +Then run it with the following command:: + + % docker run -v /mnt/db:/path/to/db groonga/groonga /mnt/db + + +With docker-compose +------------------- + +Create docker-compose.yml as follows:: + + version: '3' + services: + groonga: + image: groonga/groonga + volumes: + - ./groonga:/mnt/db + ports: + - "10041:10041" + command: ["-n", "/mnt/db/data.db"] + +Then run it with the following command:: + + % docker-compose run groonga -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180424/1e7a979e/attachment.htm