使用docker安装 – XrayR-project
1
sudoapt-get update
2
sudoapt-getinstall\
3
apt-transport-https \
4
ca-certificates \
5
curl\
6
gnupg-agent \
7
software-properties-common -y
8
curl -fsSL https://download.docker.com/linux/ubuntu/gpg |sudo apt-key add -
9
sudo add-apt-repository \
10
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
11
$(lsb_release -cs) \
12
stable"
13
sudoapt-getinstall docker-ce docker-ce-cli containerd.io -y
14
systemctl start docker
15
systemctl enable docker