Docker ubuntu - elasticsearch
NickName:Rods Freitas Ask DateTime:2017-06-18T00:53:25

Docker ubuntu - elasticsearch

I create a container with ubuntu's image.

That's all right, and i can use very well.

So, i install a elasticsearch service in this ubuntu's docker.

I have a ubuntu docker. I install elasticsearch service it.

When i use the command "curl -X GET 'localhost:9200' ", it return me the version, the name, all right.

It means the elasticsearch is configured correct, but when i access on my browser out of docker , doesn't work.

I have already configured the network on elasticsearch.yml file in path: /etc/elasticsearch/elasticsearch.yml

I can access the service with:

curl -X GET 'localhost:9200' and run correct, but when i try to access out of container , i can't found the page.

I try to use the command:

docker run -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" ubuntu/elastic

But doesn't work.

Copyright Notice:Content Author:「Rods Freitas」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/44607098/docker-ubuntu-elasticsearch

More about “Docker ubuntu - elasticsearch” related questions

Docker running ubuntu with elasticsearch

I have a ubuntu docker. I install elasticsearch service it. When i use the command "curl -X GET 'localhost:9200' ", it return me the version, the name, all right. It means the elasticsearch is

Show Detail

Docker ubuntu - elasticsearch

I create a container with ubuntu's image. That's all right, and i can use very well. So, i install a elasticsearch service in this ubuntu's docker. I have a ubuntu docker. I install elasticsearch

Show Detail

Elasticsearch file descriptors error with Docker on Ubuntu 18.04

I'm running on an error when trying to up an Elasticsearch container : elasticsearch_1 | [1]: max file descriptors [65336] for elasticsearch process is too low, increase to at least [65535] The do...

Show Detail

What are the advantages of running elasticsearch on CoreOS (with Docker) instead of Ubuntu

I'm very new to CoreOS / Docker, so could you please explain what advantages (or disadvantages) there are with running elasticsearch nodes on CoreOS machines instead of plain old Ubuntu machines. ...

Show Detail

Elasticsearch Docker Container Stops 10secs After Start in Ubuntu

I ran a docker-compose file to setup elasticsearch and Kibana on Ubuntu 18.04LTS. Kibana container is up and running just fine but elasticsearch goes down after about 10secs. I have restarted the

Show Detail

Elasticsearch Docker image not running

I'm trying to build a docker container running elasticsearch v2 using this dockerfile (I'm using RHEL 6 and docker 1.7.1): FROM partlab/ubuntu-java MAINTAINER Régis Gaidot <[email protected]&gt...

Show Detail

Config Elasticsearch and Kibana with docker

I'm working with docker for the first time. I successfully installed elasticsearch and kibana on docker, but when I try to connect kibana with elastic I get a red status with the following errors: ...

Show Detail

Why elasticsearch docker image keeps on appearing and disappearing?

I'm running into a weird situation : today morning I configured a docker-compose.yml file on ubuntu 16.04 everything was ok, later on I tried the same docker configuration on a different PC with ub...

Show Detail

osx docker run elasticsearch for development

I'm using docker to run elasticsearch in single-node for development. It's running well on Ubuntu, but something is wrong on OSX. Here is how I run ES. docker run --rm --name es \ -p 9200:9200 -p

Show Detail

Installing ElasticSearch on Ubuntu 12.04

I have a VM running Ubuntu 12.04, and am trying to install ElasticSearch. I have followed this gist in the best 'learn X the hard way' spirit, and everything installs fine - packages are downloaded,

Show Detail