Docker Volume driver choice

Under creating docker compose file I have come across two vaguely described cases:

  1. when I need to use an external disk for example [ I have a 3 hosts with multiply ssd(/opt/ssd/ds1/hot_data/) and hdd (/opt/hdd/ds1/warm_data/) ] so through docker swarm nodes will be locked there but how I should defined this point
    I saw that on elastic page it was created as local driver
    (Install Elasticsearch with Docker | Elasticsearch Guide [8.0] | Elastic)
      - /opt/ssd/ds1/hot_data/:/usr/share/elasticsearch/data
      - snapshots:/usr/share/elasticsearch/snapshots
      - elastic

and after

    driver: local
    driver: local

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.