Install docker

curl -fsSL -o
sudo sh
usermod -aG docker centos

Control Docker running status

systemctl start docker
systemctl status docker
systemctl enable docker
docker pull minio/minio

to increase capacity you have to run another docker. So this step will be rexecute if you no more space available with a new disk and a new directory

## disk_data_minio

mkdir /opt/minio-data
parted /dev/sdb mklabel gpt
parted /dev/sdb mkpart primary xfs 0% 100%
parted /dev/sdb name 1 "minio-data"
mkfs -t xfs /dev/sdb
echo "/dev/sdb /opt/minio-data xfs defaults 0 0" >> /etc/fstab
mount -a

#First Docker

docker create -p --name minio \
-e "MINIO_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxx" \
-e "MINIO_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxx" \
-v /opt/minio-data:/data \
--restart always \
minio/minio server /data
docker ps -a
docker start minio