[27/40] incubator-senssoft git commit: Updated Docker instructions
Updated Docker instructions Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/commit/23dfae26 Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/tree/23dfae26 Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/diff/23dfae26 Branch: refs/heads/asf-site Commit: 23dfae26cce2fb07f3a842a895c25f2eca55f857 Parents: b59bdd4 Author: msbeard Authored: Thu Aug 24 13:58:16 2017 -0400 Committer: msbeard Committed: Thu Aug 24 13:58:16 2017 -0400 -- docker/README.md | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/23dfae26/docker/README.md -- diff --git a/docker/README.md b/docker/README.md index 186c1ec..2669bdb 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,29 +1,35 @@ How to Build Docker Containers -- -1. Install [``Docker``](http://docker.com) -2. Install ``docker-compose``. +1. Install [``Docker``](http://docker.com) on your machine. +2. Install ``docker-compose`` in an virtual environment. Full instructions can be found [``here``](https://docs.docker.com/compose/install/). ``` $ python3 -m venv env $ source env/bin/activate $ pip install docker-compose ``` -3. Build and run all ``Docker`` containers. +3. Before launching the Docker containers, ensure your ``vm_max_map_count`` kernel setting is set to at least 262144. + Visit [``Running Elasticsearch in Production mode``](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docker.html#docker-cli-run-prod-mode) for OS specific instructions. + ``` + # For Linux systems + $ sysctl -w vm.max_map_count=262144 + ``` +4. To build and run all ``Docker`` containers. ``` $ docker-compose up -d ``` -4. Run a specific ``Docker`` container. +5. To run a specific ``Docker`` container. ``` $ docker-compose up -d site # Note: site container is instrumented w/ userale; all userale logs will be sent to the # elasticsearch docker container. ``` -5. Verify the deployment by navigating to ``Kibana`` in your favorite browser. +6. Verify the deployment by navigating to ``Kibana`` in your favorite browser. ```sh http://localhost:5601 ``` -6. Stop all the containers. +7. Stop all the containers. ```sh $ docker-compose stop ```
[26/40] incubator-senssoft git commit: Updated Docker instructions
Updated Docker instructions Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/commit/b59bdd40 Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/tree/b59bdd40 Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/diff/b59bdd40 Branch: refs/heads/asf-site Commit: b59bdd405da69fc718699c9f8185b46780502348 Parents: 381a6c5 Author: msbeard Authored: Thu Aug 24 13:57:08 2017 -0400 Committer: msbeard Committed: Thu Aug 24 13:57:08 2017 -0400 -- docker/README.md | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/b59bdd40/docker/README.md -- diff --git a/docker/README.md b/docker/README.md index c5a015b..186c1ec 100644 --- a/docker/README.md +++ b/docker/README.md @@ -4,10 +4,9 @@ How to Build Docker Containers 1. Install [``Docker``](http://docker.com) 2. Install ``docker-compose``. ``` -$ mkdir env -$ virtualenv env -$ source env/bin/activate -$ pip install -e .[docker] +$ python3 -m venv env +$ source env/bin/activate +$ pip install docker-compose ``` 3. Build and run all ``Docker`` containers. ``` @@ -17,14 +16,14 @@ How to Build Docker Containers ``` $ docker-compose up -d site # Note: site container is instrumented w/ userale; all userale logs will be sent to the -# elasticsearch docker container. +# elasticsearch docker container. ``` 5. Verify the deployment by navigating to ``Kibana`` in your favorite browser. ```sh http://localhost:5601 ``` - + 6. Stop all the containers. ```sh -$ docker-compose stop -``` \ No newline at end of file +$ docker-compose stop +```
incubator-senssoft git commit: Updated Docker instructions
Repository: incubator-senssoft Updated Branches: refs/heads/master b59bdd405 -> 23dfae26c Updated Docker instructions Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/commit/23dfae26 Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/tree/23dfae26 Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/diff/23dfae26 Branch: refs/heads/master Commit: 23dfae26cce2fb07f3a842a895c25f2eca55f857 Parents: b59bdd4 Author: msbeard Authored: Thu Aug 24 13:58:16 2017 -0400 Committer: msbeard Committed: Thu Aug 24 13:58:16 2017 -0400 -- docker/README.md | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/23dfae26/docker/README.md -- diff --git a/docker/README.md b/docker/README.md index 186c1ec..2669bdb 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,29 +1,35 @@ How to Build Docker Containers -- -1. Install [``Docker``](http://docker.com) -2. Install ``docker-compose``. +1. Install [``Docker``](http://docker.com) on your machine. +2. Install ``docker-compose`` in an virtual environment. Full instructions can be found [``here``](https://docs.docker.com/compose/install/). ``` $ python3 -m venv env $ source env/bin/activate $ pip install docker-compose ``` -3. Build and run all ``Docker`` containers. +3. Before launching the Docker containers, ensure your ``vm_max_map_count`` kernel setting is set to at least 262144. + Visit [``Running Elasticsearch in Production mode``](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docker.html#docker-cli-run-prod-mode) for OS specific instructions. + ``` + # For Linux systems + $ sysctl -w vm.max_map_count=262144 + ``` +4. To build and run all ``Docker`` containers. ``` $ docker-compose up -d ``` -4. Run a specific ``Docker`` container. +5. To run a specific ``Docker`` container. ``` $ docker-compose up -d site # Note: site container is instrumented w/ userale; all userale logs will be sent to the # elasticsearch docker container. ``` -5. Verify the deployment by navigating to ``Kibana`` in your favorite browser. +6. Verify the deployment by navigating to ``Kibana`` in your favorite browser. ```sh http://localhost:5601 ``` -6. Stop all the containers. +7. Stop all the containers. ```sh $ docker-compose stop ```
incubator-senssoft git commit: Updated Docker instructions
Repository: incubator-senssoft Updated Branches: refs/heads/master 381a6c5ef -> b59bdd405 Updated Docker instructions Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/commit/b59bdd40 Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/tree/b59bdd40 Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/diff/b59bdd40 Branch: refs/heads/master Commit: b59bdd405da69fc718699c9f8185b46780502348 Parents: 381a6c5 Author: msbeard Authored: Thu Aug 24 13:57:08 2017 -0400 Committer: msbeard Committed: Thu Aug 24 13:57:08 2017 -0400 -- docker/README.md | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/b59bdd40/docker/README.md -- diff --git a/docker/README.md b/docker/README.md index c5a015b..186c1ec 100644 --- a/docker/README.md +++ b/docker/README.md @@ -4,10 +4,9 @@ How to Build Docker Containers 1. Install [``Docker``](http://docker.com) 2. Install ``docker-compose``. ``` -$ mkdir env -$ virtualenv env -$ source env/bin/activate -$ pip install -e .[docker] +$ python3 -m venv env +$ source env/bin/activate +$ pip install docker-compose ``` 3. Build and run all ``Docker`` containers. ``` @@ -17,14 +16,14 @@ How to Build Docker Containers ``` $ docker-compose up -d site # Note: site container is instrumented w/ userale; all userale logs will be sent to the -# elasticsearch docker container. +# elasticsearch docker container. ``` 5. Verify the deployment by navigating to ``Kibana`` in your favorite browser. ```sh http://localhost:5601 ``` - + 6. Stop all the containers. ```sh -$ docker-compose stop -``` \ No newline at end of file +$ docker-compose stop +```