mirror of
https://github.com/luzifer-docker/curator.git
synced 2024-11-08 14:20:11 +00:00
22 lines
415 B
Markdown
22 lines
415 B
Markdown
|
# luzifer-docker / curator
|
||
|
|
||
|
Run elasticsearch curator in a Docker container
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```bash
|
||
|
## Build container (optional)
|
||
|
$ docker build -t luzifer/curator .
|
||
|
|
||
|
## Create config and action file
|
||
|
$ tree
|
||
|
.
|
||
|
├── curator.yml
|
||
|
└── delete-indices.yml
|
||
|
|
||
|
0 directories, 2 files
|
||
|
|
||
|
## Execute curator
|
||
|
$ docker run --rm -ti -v $(pwd):/home/curator/.curator -v $(pwd):/data luzifer/curator /data/delete-indices.yml
|
||
|
```
|