Install Docker Compose on Mac OS

  • First method:
    Open a terminal and enter the following command:
    curl -SL https://github.com/docker/compose/releases/download/v2.32.1/docker-compose-darwin-x86_64 -o docker-compose
    chmod +x docker-compose
    docker compose versionĀ 
  • Second method
    Open a terminal and enter the following command:
    brew install wget
    COMPOSE_VERSION=v2.15.1
    wget https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-darwin-arm64 -O docker-compose
    chmod +x docker-compose
    sudo mv docker-compose /usr/local/bin
    docker-compose version
  • Check out the Mac version of Docker Compose
    Find all download links with darwin at the following URL, which is the docker-compose download file for macOS systems.
    https://github.com/docker/compose/releases

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *