Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Update Graylog version in docker

I am new to graylog, I have installed graylog in docker and after installing it I observed 2 notifications one is related to Graylog Upgrade. Can someone tell me how to update it using docker commands?

Note: First in need to take backup of my data and then I need to update it to version 2.4.6.

Note 2: I have already referred the documentation in graylog.

http://docs.graylog.org/en/2.4/pages/upgrade.html

http://docs.graylog.org/en/2.4/pages/installation/docker.html

Graylog Installation process:

docker run --name mongo -d mongo:3
docker run --name elasticsearch \
-e "http.host=0.0.0.0" -e "xpack.security.enabled=false" \
-d docker.elastic.co/elasticsearch/elasticsearch:5.6.2
docker run --link mongo --link elasticsearch \
-p 9000:9000 -p 12201:12201 -p 514:514 \
-e GRAYLOG_WEB_ENDPOINT_URI="http://127.0.0.1:9000/api" \
-d graylog/graylog:2.4.0-1

enter image description here

like image 686
Dinesh Reddy Alla Avatar asked Mar 16 '26 05:03

Dinesh Reddy Alla


1 Answers

To use the latest version change the tag of the graylog image from 2.4.0-1 to 2.4 or 2.4.6-1

Seems like the documentation you found is not completely in line with the documentation on docker hub:

If you simply want to checkout Graylog without any further customization, you can run the following three commands to create the necessary environment:

docker run --name mongo -d mongo:3

docker run --name elasticsearch \ -e "http.host=0.0.0.0" -e "xpack.security.enabled=false" \ -d docker.elastic.co/elasticsearch/elasticsearch:5.6.12

docker run --link mongo --link elasticsearch \ -p 9000:9000 -p 12201:12201 -p 514:514 \ -e GRAYLOG_WEB_ENDPOINT_URI="http://127.0.0.1:9000/api" \ -d graylog/graylog:2.4

like image 71
Fabian Braun Avatar answered Mar 17 '26 20:03

Fabian Braun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!