Do Docker volumes have to be on the local server?

by Merc   Last Updated January 02, 2018 02:00 AM

I am dockerising an existing node app. The app allows users to upload user images. I am thinking of creating a docker volume image, and share it amongst the running containers so that they can all write and read those images.

Questions:

  • Can I deploy the docker image on Amazon and expect all of the instances to access it?
  • Could I potentially have the image running on "cloud provider A", and allow other docker instances to access it from "cloud provider B"?


Related Questions


How to make AWS containers communicate

Updated January 02, 2018 23:00 PM


Automatically login on Amazon ECR with Docker Swarm

Updated January 24, 2018 19:00 PM

Redirect ephemeral port to 80

Updated August 09, 2018 17:00 PM