I’m trying to get the gelf driver to work from inside my compose so that I can push logs toward logstash. If I run a container by hand with docker run, it starts logging to logstash. If I use the same options in my docker-compose.yml, the container starts with: WARNING: no logs are available with the ‘gelf’ driver.
My yaml looks like:
So I know that my logstash is listening and that there isn’t anything inherently wrong with docker and gelf. So what am I doing wrong?