安装Docker-zerotier-server过程中遇到的问题

发布于 2022-05-25  743 次阅读


参考https://github.com/hamlinzheng/docker-zerotier-server中的教程

git clone https://github.com/hamlinzheng/docker-zerotier-server.git

Ubuntu提示:

Command 'git' not found, but can be installed with:

apt install git

(安装git):

sudo apt update 
apt install git

然后在执行:

git clone https://github.com/hamlinzheng/docker-zerotier-server.git

接下来安装 Docker 和 Docker-compose

先安装Docker:

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

然后安装Docker-compose

sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

添加可执行权限

sudo chmod +x /usr/local/bin/docker-compose

查看docker-compose版本

docker-compose version
届ける言葉を今は育ててる
最后更新于 2022-05-25