By Igelaty
Hello, is it possible to use Spaces(Object Storage) or Block Storage as a volume for docker hosted on a non digital-ocean server? I know it would be possible when I use a droplet + Block/Object - Storage, but is it possible to mount only the Storage to a Docker or Docker-Swarm without usage of DigitalOcean Droplets?
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!
It isn’t possible to mount block storage to a service outside of DO. Block storage is meant to be used inside of DigitalOcean, and it is pretty much the same with all providers. Even if you could mount externally it would add too much latency to make it efficient.
Similarly, you can use Object Storage as an exported FS but it wouldn’t be recommended because again the latency that you would encounter wouldn’t make it efficient.
If you want to mount block storage to docker inside of a DigitalOcean droplet here is a great write up on that: https://www.digitalocean.com/community/questions/how-to-attach-digitalocean-block-storage-to-docker-container
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.