docker volumes using mount command

Does this volume persist in the swarm? 
If my service is deployed in one of the worker nodes is the volume created automatically in the host?
kindly elaborate on these points
  • post-author-pic
    Michael M


    When you "mount" a volume in docker this volume is created on the host node in the location: 
    the volume should persist past container lifecycle and other containers should be able to mount this volume as well. 

  • post-author-pic
    Surabhi R

    i don't understand how the swarm uses this as a common persistent storage. 

Looking For Team Training?

Learn More