Setting up Graylog3.2 o docker

I am trying to run graylog on docker but it is giving me error as “docker: Error response from daemon: Conflict. The container name “/graylog” is already in use by container “75a632edff8846cffed3ade41b06d0b3b0fa6356d912fc9087b2ac8f7a552e61”. You have to remove (or rename) that container to be able to reuse that name.
See ‘docker run --help’.”
Command used to run graylog is as below
docker run --name graylog --link mongo --link elasticsearch -p 9000:9000 -p 12201:12201 -p 1514:1514 -e GRAYLOG_HTTP_EXTERNAL_URI=“http://127.0.0.1:9000/” -d graylog/graylog:3.2
I have already set up elastic7.6.2(latest) on docker and it is up and running. Can you please help me fix this up.

he @jason87789

first, Graylog is not compatible with Elasticsearch 7 - you need to run Elasticsearch 6.

Second, the error message indicate that you already have a docker container by the name graylog. Re-use this container instead of creating a new or remove the old container before.

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