1、linux 已有docker环境
2、安装fio命令
yum install -y fio
2、mkdir test-data
fio --rw=write --ioengine=sync --fdatasync=1 --directory=test-data --size=2200m --bs=2300 --name=mytest
ctrl+c
3、lscpu
4、docker -v
6、安装docker compose组件
yum -y install python3-pip
pip3 install --upgrade pip
pip install docker-compose
docker-compose -version
参考: