docker compose

  1. Run this command to download the current stable release of Docker Compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  1. Apply executable permissions to the binary:

sudo chmod +x /usr/local/bin/docker-compose
  1. Test the installation.

docker-compose --version

最后更新于