二、docker compose安装

docker compose安装

  • docker compose的所有版本:https://github.com/docker/compose/releases
# 安装步骤
# 1.下载docker compose:v2.5.0是docker-compose版本
curl -L https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose

# 2.将docker-compose设置为可以运行
chmod +x /usr/local/bin/docker-compose

# 3.测试是否安装成功
docker-compose --version

二、docker compose安装_第1张图片

你可能感兴趣的:(#,docker安装,docker,容器,运维)