#docker-compose安装
yum install epel-release

yum install python3-pip

pip3 install --upgrade pip

pip3 install docker-compose
#这里会报错:ModuleNotFoundError: Nomodule named 'setuptools_rust'
#解决方法:pip3 install -U pip setuptools

docker-compose --version
#停止容器
docker-compose stop

#启动并重新build镜像
docker-compose up -d --build

By xbingo

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注