High available Docker volume

I wanted to know if it’s possible to make an highly available Docker volume in Compose like so :

image: ubuntu
  - /var/lib/data
command: sleep infinity

    image: ubuntu
      - /var/lib/data
    command: sleep infinity

My plan is to mount this volume with volume_from on all my other container.

  • advantages VM's have over lightweight containers (docker) [closed]
  • Docker Deamon on Debian 7 inappropriate ioctl for device
  • New to mesos/marathon. How to deploy a new self defined docker?
  • Storm:java.lang.RuntimeException: Returned channel was actually not established
  • Docker private registry can't find tags when pulling
  • Can you please suggest on best ways to cleanup docker containers
  • Thanks

  • How can I increase memory of docker-machine vm from commandline?
  • docker push error “denied: requested access to the resource is denied”
  • Execute two commands with docker exec
  • How can I extend an image, so that it still works? When can an image be in the from line in a Dockerfile?
  • Docker proxy windows daemon named pipe to Ubuntu Container
  • Docker: Connecting to external database
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.