datamgmt

imply.io Docker README.md update

Nov 17th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Dockerized version of the distribution available at https://imply.io/download.
  2.  
  3. [Install Docker](docker-install.md)
  4.  
  5. To build an image, first download the Imply distribution from the link above, place it in the cloned repository, and then run:
  6.  
  7. ```
  8. git clone https://github.com/implydata/distribution-docker imply
  9. cd imply
  10. pwd
  11. ```
  12.  
  13. At this point copy distribution file into the current working directory
  14.  
  15. ```
  16. export implyversion=3.1.6
  17. tar -xzf imply-$implyversion.tar.gz
  18. docker build -t imply:$implyversion --build-arg implyversion=$implyversion .
  19. ```
  20.  
  21. To run the image in quickstart mode (single-machine, non-clustered):
  22.  
  23. ```
  24. docker run -p 8081-8110:8081-8110 -p 8200:8200 -p 8888:8888 -p 9095:9095 -d --name imply imply:$implyversion
  25. ```
  26.  
  27. To load the example data:
  28.  
  29. ```
  30. docker exec -it imply bin/post-index-task -f quickstart/wikipedia-index.json
  31. ```
  32.  
  33. To enter the container, if you want:
  34.  
  35. ```
  36. docker exec -it imply /bin/bash
  37. ```
  38.  
  39. To stop the container:
  40.  
  41. ```
  42. docker stop imply
  43. ```
Advertisement
Add Comment
Please, Sign In to add comment