Report this

What is the reason for this report?

When I provision a new block storage, how can I get it to work with docker

Posted on March 29, 2019

When I provision a block storage and attach it to a droplet, how could I configure it so I could use it as a volume for a docker container?



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.

Here is a great write up on how to get Block Storage attached to Docker on a DigitalOcean Droplet:

https://www.digitalocean.com/community/questions/how-to-attach-digitalocean-block-storage-to-docker-container

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.