How to mount droplets with docker to volume?

May 9, 2019 416 views
Docker Ubuntu 18.04

Hello,

is it possible to mount two droplets with docker images to common volume and force docker to use this volume?
Example:

  • Build some docker image at first droplet and use that image at second droplet.
  • Have some builded images and then destroy one droplet and create other one. Configure it somehow and when run $ docker images, see my images.
1 Answer

Ok nevermind, I just found that you can’t mount same volume to multiple droplets.

Have another answer? Share your knowledge.