Report this

What is the reason for this report?

How to mount droplets with docker to volume?

Posted on May 9, 2019

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.


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.