High available Docker volume

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

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

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

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

  • Specify bolt port for a neo4j docker container
  • Communicate two containers in docker with netcat
  • customized Docker mongodb image gets stuck : can't stop, kill, open
  • want to use the same host and port for ssh session
  • Dockerized MongoDB on Heroku?
  • Kubernetes authentication issues pulling ECR images
  • Thanks

  • Overriding the way JMX works in a Docker WLS container
  • How to ask docker to pull from private repository when building
  • Pushing and pulling to/from private docker registry is horribly slow
  • What is the relationship between a docker image ID and the IDs in the manifests?
  • Create Docker volume with preexisting data in it
  • Dockerfile HOSTNAME Instruction for docker build like docker run -h
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.