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.

  • memcached fails after running for a while
  • AWS BeansTalk expose docker port
  • How to configure Jenkins in Docker?
  • Private Docker Registry Not Connectible to Shell & Web Management UI?
  • Opening Port in Docker Container
  • Rabbitmq producer (symfony 3 ) and error with consumer ( NodeJs )
  • Thanks

  • Oracle Java in Docker Container cannot resolve hostname after /etc/nsswitch.conf changed
  • Logging to stdout in supervisord with docker
  • docker blockio can not monitor when using dd to test
  • How to update rails app on production with Docker and Fig with zero downtime?
  • docker-compose build throwing error ERROR: Untar re-exec error: signal: killed: output:
  • How to use the official docker elasticsearch container?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.