部署ATX2

CentOS

1、安装 docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

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

docker-compose --version

docker-compose up权限不够的问题

sudo执行可能/usr/local/bin/目录权限不够,su切换到root下执行即可。

curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

修改docker-compose命令执行权限:
chmod +x /usr/local/bin/docker-compose

 

还是权限不行的话关闭一下selinux试试

你可能感兴趣的:(安卓群控)