1、安装docker
安装依赖
1、安装依赖包
yum install -y yum-utils device-mapper-persistent-data lvm2
2、添加稳定的源
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
安装docker-ce
更新yum
yum install makecache fast
安装docker-ce
yum install docker-ce
启动docker
sudo systemctl start docker
测试docker
docker run hello-word
安装docker-compose
sudo yum install epel-release
sudo yum install -y python-pip
sudo yum install docker-compose
2、安装sentry
2.1安装依赖
安装git
sudo yum install git
原文地址:https://www.cnblogs.com/yunwangjun-python-520/p/11450786.html
时间: 2024-10-09 06:06:10