Public | Automated Build

Last pushed: 7 months ago
Short Description
Alpine image with recurring elastic curator job
Full Description

Alpine image with recurring Elastic Search Curator job

Docker image including latest version of Alpine running Elastic Search Curator as CRON daily task

Usage

docker run -d --name {container-name} --link {elastic-search-container-name}:elasticsearch eldersoss/curator-docker --host {elastic-search-host} --port {elastic-search-port} {curator-command}

docker run - reference

-d - reference

--name - reference

--link - reference

--host - reference

--port - reference

{curator-command}- reference

Example for version 2.0 using curator 4.2.6:
docker run -d --name curator_cron --link dockerelasticsearchkibanacurator_log_1:elasticsearch eldersoss/curator-docker --host elasticsearch --port 9200 delete_indices --filter_list '{"filtertype":"age", "source":"name","direction":"older", "timestring":"%Y.%m.%d", "unit":"days", "unit_count":"10"}'

Example for version 1.0 using curator 3.5.1:
docker run -d --name curator_cron --link dockerelasticsearchkibanacurator_log_1:elasticsearch eldersoss/curator-docker --host elasticsearch --port 9200 delete indices --older-than 10 --timestring '%Y.%m.%d' --time-unit days

Example usage in multi-container setup

Version 2.0 is working with:

Docker version 1.12.6, build d5236f0 https://github.com/docker/docker/releases

Alpine 3.5 https://hub.docker.com/_/alpine/

ElasticSearch 5.2.0 https://hub.docker.com/_/elasticsearch/

Kibana 5.2.0 https://hub.docker.com/_/kibana/

Curator 4.2.6 https://pypi.python.org/pypi/elasticsearch-curator/4.2.6

Version 1.0 is working with:

Docker version 1.11.1, build 5604cbe https://github.com/docker/docker/releases

Alpine 3.3.3 https://hub.docker.com/_/alpine/

ElasticSearch 2.3.3 https://hub.docker.com/_/elasticsearch/

Kibana 4.5.1 https://hub.docker.com/_/kibana/

Curator 3.5.1 https://pypi.python.org/pypi/elasticsearch-curator/3.5.1

Docker Pull Command
Owner
eldersoss
Source Repository

Comments (0)