How to share data among docker hosts

0 votes
Is there a way that i can share data among two docker hosts?How can i do this?
Jul 5, 2019 in Docker by Daisy
681 views

1 answer to this question.

0 votes

Ways to achieve this when developing your applications:

  • One is to add logic to your application to store files on a cloud object storage system like Amazon S3. 

  • Another is to create volumes with a driver that supports writing files to an external storage system like NFS or Amazon S3.

Volume drivers allow you to abstract the underlying storage system from the application logic. For example, if your services use a volume with an NFS driver, you can update the services to use a different driver, as an example to store data in the cloud, without changing the application logic.

answered Jul 5, 2019 by Sirajul
• 59,230 points

Related Questions In Docker

0 votes
1 answer

How to store data in external drive with Docker Postgres:9.3 image?

Apparently, the problem would be in your ...READ MORE

answered Jul 12, 2018 in Docker by Kalgi
• 2,680 points
2,648 views
0 votes
1 answer

How to change hosts in Docker for Windows in daemon.json?

you cannot specify options both as a ...READ MORE

answered Oct 16, 2018 in Docker by Tyrion anex
• 8,700 points
4,662 views
0 votes
1 answer

How to use Docker Machine to provision hosts on virtualbox?

Hi@akhtar,  You can run the docker-machine create command, pass the ...READ MORE

answered Dec 21, 2020 in Docker by MD
• 95,460 points
645 views
0 votes
1 answer

How can I share data between two running Docker containers?

Share data between two running containers by various means depending on the use case. ...READ MORE

answered Nov 5 in Docker by Gagana
• 6,530 points
65 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,738 views
0 votes
1 answer

How to Backup, Restore or Migrate data volumes in a docker container?

Steps to Backup a container 1)     ...READ MORE

answered Jul 3, 2019 in Docker by Sirajul
• 59,230 points
14,194 views
0 votes
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP