I have attached a volume, mounted it to specific path. How can I use droplet's and volume's space as one docker volume?

I have found a bad workaround about issue, I have just used the mount path of the block storage as volume in docker. However, it is not a desired solution since droplet’s free space becomes idle, unusable. How could I use both space as one for my docker volume.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


I would recommend checking the answer on this question on how to attach a block storage to your docker container:

Regards, Bobby