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

  • Docker newbie, is this image created successfully ?
  • Dockerfile: Permission denied during build when running ssh-agent on /tmp
  • 404 error when Accessing from local host : NGINX uWSGI
  • Exec commands on kubernetes pods with root access
  • How to login local machine and change system parameter when use docker for mac [closed]
  • Can use kubectl replace update the namespace of service in kubernetes
  • 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 ...

  • Boot2Docker searching for docker-bootstrap.sock which does not exist
  • Permission denied when mounting Docker volume in OSX
  • starting docker container from python messes up terminal settings
  • Running gunicorn on ubuntu based image using docker-compose
  • How to use rolling update to re-pull container image?
  • docker service cassandra publish port failed
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.