For changing docker to use another path to save config and volumes follow the steps below:
systemctl stop docker.service docker.socketFirst create lib's for docker libraries
mkdir -p /mnt/docker/libThen edit docker service
vim /lib/systemd/system/docker.serviceExecStart=/usr/bin/dockerd -g /mnt/docker/lib -H fd:// --containerd=/run/containerd/containerd.socksystemctl daemon-reload
systemctl start dockerMinio Clustering on 4 nodes
cd /root
git clone https://github.com/mrunix1998/docker-minio-cluster.git1 - Creating certs :
cd nginx/certs/note : you should set your dns domain name in common name section.
bash create_certs.shThen insert information that cert needs that
2 - Changing domain in nginx.conf [line 42, 49] :
vim /root/docker-minio-cluster/nginx/nginx.conf3 - Changing minio consule password in docker-compsoe.yml [ MINIO_ROOT_PASSWORD in line 12]:
vim /root/docker-minio-cluster/docker-compose.yml4 - Running setup.sh file :
cd /root/docker-minio-cluster/bash setup.sh upAfter you running the setup.sh file, you can reach minio consule in the web with --> http://domain_name
bash setup.sh down