diff --git a/logstash/README.md b/logstash/README.md index 9fabd8597..4625d0704 100644 --- a/logstash/README.md +++ b/logstash/README.md @@ -37,6 +37,24 @@ If you need to run logstash with a configuration file, `logstash.conf`, that's l $ docker run -it --rm -v "$PWD":/config-dir logstash -f /config-dir/logstash.conf ``` +### Using a `Dockerfile` + +If you'd like to have a production Logstash image with a pre-baked configuration file, use of a `Dockerfile` is recommended: + +```dockerfile +FROM logstash + +COPY logstash.conf /some/config-dir/ + +CMD ["-f", "/some/config-dir/logstash.conf"] +``` + +Then, build with `docker build -t my-logstash .` and deploy with something like the following: + +```console +$ docker run -it --rm my-logstash +``` + # License View [license information](https://github.com/elastic/logstash/blob/master/LICENSE) for the software contained in this image. diff --git a/ubuntu/README.md b/ubuntu/README.md index 92f6432a5..a8cd7eea2 100644 --- a/ubuntu/README.md +++ b/ubuntu/README.md @@ -21,6 +21,10 @@ Development of Ubuntu is led by UK-based Canonical Ltd., a company owned by Sout # What's in this image? +This image is built from official rootfs tarballs provided by Canonical (specifically, https://partner-images.canonical.com/core/). + +The `ubuntu:latest` tag points to the "latest LTS", since that's the version recommended for general use. + ## `/etc/apt/sources.list` ### `ubuntu:16.04`