My requirement is to share a docker volume created in a mesos agent among different applications. the documentation to persistence storage using docker volume is mentioned here but when I tried I was not able to install dvdcli from the link here and I came to know the support for the same is stopped. I would like to know if it is possible to have a volume that shares data among multiple applications so that I can stop looking on something which will not work.
The environment I am using is ec2 Amazon Linux 2 AMI (HVM), SSD Volume Type to setup a standalone version of mesos.
The commands I am using for master, slave and marathon processes is given below.
Command to create master:
nohup mesos-master.sh --registry=in_memory --ip=<IP> --port=5050 --acls=file:///tmp/mesos/config/acls --credentials=file:///tmp/mesos/config/credentials &
Command to create slave:
sudo /home/ec2-user/mesos-1.9.0/build/bin/mesos-slave.sh --work_dir=/home/ec2-user/mesos-slave1 --master=<IP>:5050 --containerizers=docker,mesos --executor_registration_timeout=5mins --resources='cpus:2;mem:1200;disk:5000;ports:[1-65000]' --zk_session_timeout=30000ms --credential=/home/ec2-user/credential --isolation=docker/volume,docker/runtime,filesystem/linux --image_providers=docker --executor_environment_variables="{}" --docker_volume_checkpoint_dir=/var/run/mesos/isolators/docker/volume
Command to create marathon
MESOS_NATIVE_JAVA_LIBRARY=/home/ec2-user/mesos-1.9.0/build/src/.libs/libmesos.so marathon --master <IP>:5050 --zk zk://<IP>:2181/marathon --webui_url https://<IP>:7070 --mesos_authentication --mesos_authentication_principal marathon --mesos_authentication_secret_file /tmp/mesos/config/marathon.secret --http_port 7070 --mesos_role marathon
I could not install dvdcli in the system.