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
1,377 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,190 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
3,763 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,690 points
5,723 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
1,317 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, 2024 in Docker by Gagana
• 10,070 points
1,476 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,658 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,190 points
15,572 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