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/:

  • Gitlab CI : Deploy php codes into docker image as production
  • How to get into a docker container?
  • Error when building a Docker container
  • Using private docker registry for GitLab CI
  • Why doesn't my newly-created docker have a digest?
  • How do I copy the files from one directory to another using a dockerfile?
  • 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 ...

    http://pastebin.com/raw/ymfvLPLT

    Condensed version:

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

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

    http://pastebin.com/cE9bjs6i

  • Scheduling Docker containers to Cluster: Swarm or CoreOS?
  • docker nodejs container cant connect mysql container
  • MongoDB doesn't work with Symfony app in Docker
  • Execute host shell script from meteor container
  • How to connect to Cassandra in Docker
  • Docker: can not access container host/port
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.