Installed ES 8.3.2 using docker on my local dev machine. Before this installation I had ES 6.3.2 running and I had deleted all my test indices in 6.3.2 before installing 8.3.2 so that I would avoid any v6 issues with 8 on my local dev. When I attempt
docker-compose up --build I get this error:
es_usamm-db | org.elasticsearch.ElasticsearchException: failed to bind service es_usamm-db | Likely root cause: org.elasticsearch.gateway.CorruptStateException: Format version is not supported. Upgrading to [8.3.2] is only supported from version [7.17.0].
How do I completely wipe out any elasticsearch docker data so that I can just install 8.3.2? I thought deleting all indices in 6.3.2 would have allowed a clean install of 8.3.2, but there must still be some 6.3.2 data persisting somewhere?
Here is my
services: elasticsearch: container_name: es_usamm-db image: docker.elastic.co/elasticsearch/elasticsearch:8.3.2 environment: - node.name=es01 - cluster.name=es-docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - xpack.security.enabled=false - discovery.type=single-node ulimits: memlock: soft: -1 hard: -1 volumes: - data01:/usr/share/elasticsearch/data - ./server/elastic/scripts:/server/elastic/scripts ports: - 9200:9200 networks: - default kibana: container_name: kibana_usamm-db image: docker.elastic.co/kibana/kibana:8.3.2 ports: - 5601:5601 networks: - default