How to Update Graylog in docker

Hi I am Dinesh,

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 some one 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.

@bernd, @joe.gross, @danotorrey, @dennis, @edmundo, @kay, @konrad, @marius, @mpfz0r, @tcdyson

how did you started graylog in docker? did you use docker-compose? Just change the version number of the image then.

i want to upgrade it with out losing my data. Already data is there. So suggest me what are the commands i need to use. @jan

i think you need to graceful shutdown first, and then update the package, and then restart the service again

I just need a command how to update the graylog in docker.

If you are having knowledge on docker suggest me step by step procedure with docker commands what i need to do.@merceskoba.

you did not answer my initial, first question. How did you start Graylog in the Docker environment? Did you use Docker-compose or just set a "docker run` command?

Without that knowledge nobody is able to point you to the solution!

1 Like

@jan

I installed graylog in docker by following the instructions given in your documentation.

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

which of the two given installations? the quick guide or the docker-compose guide?

Can you send me the screenshot what “docker-compose” in your point of view? I have installed it using quick start then after I updated docker-compose.yml for my own settings. I have created my own volumes to store the backup files. @jan

I didn’t find “docker-compose” guide any where in your document. Send me the link where it is, So that it would be helpful for me.

So you had used this section to make use of Graylog?
http://docs.graylog.org/en/2.4/pages/installation/docker.html#quick-start

Or did you use a docker-compose file? Like described in this section:
http://docs.graylog.org/en/2.4/pages/installation/docker.html#settings

If you use a docker-compose file - how does this look like. Please post your compose file into this forum.

I have used Quick start to install. What i am suppose to do. But i hosted gray log on my own local URL. Which can’t be accessed out side of our office network. What ever the changes which need to be done in “docker-compose.yml” i have done it. @jan

as you can’t give me the answer how you installed/use Graylog I can only give you this:

  • shutdown Graylog (leave mongoDB and Elasticsearch running)
  • change the Version number to the version you want to go to
  • start Graylog
1 Like

I have used Quickstart to install. I have already said in the previous comment. What are the exact details you require from me?

If Possible arrange a call with technical team.

Hi @jan

Can you tell me the docker commands for below scenarios.

How to Shut Down Graylog?
How to change the version?
How to start Graylog?

Hi @jan

Can you send the docker commands for your explanation? I haven’t found anywhere in the documentation. SO that i will restart the service from starting on wards.

HI @merceskoba

Can you send me the docker commands.

sorry @dinesh.alla when you need this detailed help using and running docker containers I’m not the right person to show how you do this in your environment.
Whatever I’ll tell you might break your setup and I do not want to be the person that is blamed for that.

1 Like

For Query i have return solution in Stack over flow please check the below link.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.