Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Install java8 ( the second command is required since java8 is no longer the default on macos  ): 

brew update 
brew tap caskroom/versions
brew cask install java8

- install maven

...

Launch the docker quickstart terminal

Note: If you have the correct Docker installed (https://www.docker.com/community-edition#/download) you can skip the following 3 steps. To uninstall old versions of Docker please following this link: https://qiita.com/tnir/items/6b2caf018726c590cf92

  1. Create a new Docker VM.

docker-machine create --driver virtualbox default

...

3. Connect your shell to the default machine.

$ eval "$(docker-machine env default)"

- create an Elastic Search docker container

...

  • docker-compose up  ( use "-d" option to run in the background)
  • docker ps → verify the container is running
  • in a Chrome browser http://192.168.99.100:9200/ (localhost:9200 if your using docker for mac - native) - you should get an elastic search REST response

...