Run update.sh
This commit is contained in:
parent
2404d03c1e
commit
4cb2ce732d
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Reference in New Issue