Running Elastic Search with Laradock

I’m trying to get ElasticSearch running with Laradock. ES looks to be supported out of the box with Laradock.

Here’s my docker command (run from <project root>/laradock/:

  • Execute bash command if docker container does not exist
  • missing stack command Docker
  • Flask web app, Node.js (queue) worker. Can't make docker work
  • Django Logging Permission Error [Errno 13] Permission denied
  • Openshift postfix server not starting
  • Integration tests for continuous delivery using docker
  • docker-compose up -d nginx postgres redis beanstalkd elasticsearch

    However if I run docker ps, the elasticsearch container isn’t running.

    Both ports 9200 and 9300 are not consumed:

    lsof -i :9200

    Not sure why the elasticsearch container doesn’t persist, it seems to just self close.

    output of docker ps -a after running docker-compose up ...

    Condensed version:

    IMAGE                     STATUS                        PORTS
    laradock_nginx            Up 36 seconds       >80/tcp,>443/tcp
    laradock_elasticsearch    Exited (137) 34 seconds ago
    laradock_beanstalkd       Up 37 seconds       >11300/tcp
    laradock_php-fpm          Up 38 seconds                 9000/tcp
    laradock_workspace        Up 39 seconds       >22/tcp
    tianon/true               Excited (0) 41 seconds ago
    laradock_postgres         Up 41 seconds       >5432/tcp
    laradock_redis            Up 40 seconds       >6379/tcp

    Output of docker events after running docker-compose up ...

  • docker-compose image named: “prefix_%s_1” instead of “%s”
  • How could I enable docker remote api on mac osx
  • Docker Compose run a command
  • Docker-Compose build failing on Google App Engine
  • Can't connect to MySQL docker container launched via ansible
  • Dockerized Angular 4, Django and postgresql - Process exited with status 127, error code=H10 desc=“App crashed”
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.