dokku / dokku-elasticsearch

an elasticsearch plugin for dokku
MIT License
94 stars 35 forks source link

Trouble creating - waiting for container to be ready #25

Closed bjornpost closed 8 years ago

bjornpost commented 8 years ago

I'm running a 1.7.4 es container right now. And I'm running into some issues trying to create a new 2.1.1 container.

My steps:

# dokku plugin:update elasticsearch
Plugin (elasticsearch) updated
# dokku elasticsearch:create search02
Elasticsearch image elasticsearch:2.1.1 not found (<-- would be nice if the plugin would pull the image right away)
# docker pull elasticsearch:2.1.1
2.1.1: Pulling from library/elasticsearch
[ yadda yadda ]

So far, so good. But when trying to create a new container, the process hangs at "waiting for container to be ready":

# dokku elasticsearch:create search02
-----> Starting container
       Waiting for container to be ready
^C=====> Elasticsearch container created: search02
Access denied

docker ps -a | grep search02 returns some info:

a8f46f10022b        elasticsearch:2.1.1       "/docker-entrypoint.s"   9 minutes ago       Restarting (1) 2 minutes ago   9200/tcp, 9300/tcp                                dokku.elasticsearch.search02

But I can't enter the container. Any idea of what might be going on?

Running Docker 1.9.1, build a34a1d5. Dokku 0.4.13.

bjornpost commented 8 years ago

Duplicate of #23.