不必单独装 docker-compose

main
AhFei 2023-08-15 00:00:20 +08:00
parent d550447c1a
commit 5e6d2474f4
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ sysctl net.ipv4.tcp_available_congestion_control #执行
apt update
apt -y install sudo wget curl unzip ufw screen vim git python3-pip
curl -fsSL https://get.docker.com | bash -s docker >${PWD}/step1 2>&1
curl -L https://github.com/docker/compose/releases/download/${tag}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
curl -fsSL https://get.docker.com | bash
echo "step 1: install has finished"