The information in this guide is very old and likely no longer applicable to current versions of Graylog. Please take that into account when reading the following content.
Please follow this link: http://docs.graylog.org/en/stable/pages/installation/docker.html
See Docker Documentation: https://docs.docker.com/config/containers/logging/gelf/