Run update.sh

This commit is contained in:
Docker Library Bot 2016-08-22 17:01:44 -07:00
parent 2404d03c1e
commit 4cb2ce732d
2 changed files with 22 additions and 0 deletions

View File

@ -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 $ 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 # License
View [license information](https://github.com/elastic/logstash/blob/master/LICENSE) for the software contained in this image. View [license information](https://github.com/elastic/logstash/blob/master/LICENSE) for the software contained in this image.

View File

@ -21,6 +21,10 @@ Development of Ubuntu is led by UK-based Canonical Ltd., a company owned by Sout
# What's in this image? # 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` ## `/etc/apt/sources.list`
### `ubuntu:16.04` ### `ubuntu:16.04`