- 首先
安装Docker
curl -fsSL https://get.docker.com | bash -s docker
2.安装程序
curl -L "https://github.com/docker/compose/releases/download/1.26.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
3.赋予权限
chmod +x /usr/local/bin/docker-compose
4.安装git
yum install git
5.下载文件
git clone https://github.com/XrayR-project/XrayR-release
6.进入目录
cd XrayR-release
7.编辑config文件
8.启动docker
systemctl start docker
9.更新docker
docker-compose pull
docker-compose up -d