-----安装docker
docker version > /dev/null || curl -fsSL get.docker.com | bash
service docker restart
-----安装docker compose
sudo curl -L "https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-linux-x86_64" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
 
 
Back to Top