Browse Source

Run update.sh

Docker Library Bot 9 years ago
parent
commit
4cb2ce732d
2 changed files with 22 additions and 0 deletions
  1. 18 0
      logstash/README.md
  2. 4 0
      ubuntu/README.md

+ 18 - 0
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.

+ 4 - 0
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`