-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker run example doesn't work #11
Comments
@Zs14 What systems are your Docker containers running on? |
Oh, shi* It CentOS 7 with docker 1.12 |
@Zs14 I'm unable to reproduce the problem with the example in the README file. You probably shouldn't set I've tried to reproduce the issue with the following Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
config.vm.provision "shell", inline: <<-SHELL
# Install Docker from the CentOS repository
sudo yum --quiet --assumeyes install docker
# Start Docker daemon
sudo service docker start
# Download Docker images for MongoDB, Elasticsearch, and Graylog
sudo docker pull mongo:3
sudo docker pull docker.elastic.co/elasticsearch/elasticsearch:5.6.5
sudo docker pull graylog/graylog:2.3.2-1
# Start Docker containers as described in https://github.com/Graylog2/graylog-docker/blob/2.3.2-1/README.md#quick-start
sudo docker run --name mongo -d mongo:3
sudo docker run --name elasticsearch -e "http.host=0.0.0.0" -e "discovery.type=single-node" -e "xpack.security.enabled=false" -d docker.elastic.co/elasticsearch/elasticsearch:5.6.5
sudo docker run --link mongo --link elasticsearch --name graylog -p 9000:9000 -e GRAYLOG_WEB_ENDPOINT_URI="http://127.0.0.1:9000/api" -d graylog/graylog:2.3.2-1
SHELL
end Start Vagrant box
Log into Vagrant box
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't get working graylog with example command from README.md
It can't connect to http://127.0.0.1:9000/api/system/sessions
I believe it need to change web_endpoint_uri and add web_listen_uri in README:
...
...
The text was updated successfully, but these errors were encountered: