Here's how you do it.

If you can use Homebrew, do

brew install docker-compose

and pay heed to the notes after the installer runs. They tell you to add

 "cliPluginsExtraDirs": [
     "/opt/homebrew/lib/docker/cli-plugins"
 ]

to your ~/.docker/config.json file.

I don't know if Homebrew also installs Credentials Helper with Compose, so you might have to do:

brew install docker-credential-helper

If you can't use Homebrew, I think you'll have to do the following.

Install Credentials Helper using Docker's instructions here.

Go into ~/.docker/config.json and make sure the value for credsStore is osxkeychain. My file looks like:

{
    "auths": {},
    "credsStore": "osxkeychain",
    "currentContext": "colima",
    "plugins": {
        "debug": {
            "hooks": "exec"
        },
        "scout": {
            "hooks": "pull,buildx build"
        }
    },
    "features": {
        "hooks": "true"
    }
}

Download latest Docker Compose from here for your architecture (aarch64 for Apple Silicon): https://github.com/docker/compose/releases/latest

Copy the executable to /usr/local/bin, naming it docker-compose.

From there, make sure it's executable:

sudo chmod +x docker-compose

Clear Apple's scareware:

sudo xattr -d com.apple.quarantine docker-compose

As in the Homebrew case, add

 "cliPluginsExtraDirs": [
     "/opt/homebrew/lib/docker/cli-plugins"
 ]

to your ~/.docker/config.json file.

Open a new terminal session and try

docker compose version

If that doesn't work, try

docker-compose version

If that works, the cliPluginsExtraDirs entry in the config.json file isn't working.

Answer from Oscar on Stack Overflow
🌐
Docker Docs
docs.docker.com › manuals › docker compose › overview of installing docker compose
Overview of installing Docker Compose | Docker Docs
May 28, 2026 - The easiest and recommended way to get Docker Compose is to install Docker Desktop. Docker Desktop includes Docker Compose along with Docker Engine and Docker CLI which are Compose prerequisites.
🌐
Homebrew
formulae.brew.sh › formula › docker-compose
Homebrew Formulae: docker-compose
brew install docker-compose · Isolated development environments using Docker · https://docs.docker.com/compose/ License: Apache-2.0 · Development: Pull requests · Formula JSON API: /api/formula/docker-compose.json · Formula code: ...
Discussions

[MacOS] Can I get away with just docker CLI and Docker-compose CLI?
Just to note, you should use Docker Compose, not docker-compose More on reddit.com
🌐 r/docker
11
4
July 22, 2024
install docker docker-compose on mac
hi all, whats the best way to install docker and docker-compose on a mac, is it via the docker desktop app or via brew docker engine/CE thanks, rob More on community.spiceworks.com
🌐 community.spiceworks.com
4
6
January 24, 2024
How to install docker-compose v2 in Mac Ventura?
I have the below docker desktop installed in Mac Ventura 13.0.1 (M1 Pro chip). Version 4.5.0 Engine 20.10.12 Compose 1.29.2 Kubernetes 1.22.5 Can someone let me know how can I upgrade compose to version 2.26.0? More on forums.docker.com
🌐 forums.docker.com
2
0
December 21, 2022
Can Someone please help me understand how to use Compose with Docker Desktop?
Preferably, you should use Linux since it is a developer-friendly OS but since you said you’re on Windows, here’s what I often do: Make sure Docker Desktop is running - you obviously need the Docker Engine to run Docker commands. That’s really all I use Docker Desktop for, to start the Docker Engine (I guess also updating Docker from the GUI), everything else I do from the command line. Open a terminal - I use Git Bash for Windows but you can use whatever you prefer. On the terminal, go to a folder where you want to store your Docker Compose file - name it docker-compose.yml Copy and paste the compose file contents to this file and save the changes. Run the command docker compose up -d after which you’ll start seeing the images getting downloaded or pulled and the services defined created and run. More on reddit.com
🌐 r/docker
15
2
September 5, 2024
Top answer
1 of 1
46

Here's how you do it.

If you can use Homebrew, do

brew install docker-compose

and pay heed to the notes after the installer runs. They tell you to add

 "cliPluginsExtraDirs": [
     "/opt/homebrew/lib/docker/cli-plugins"
 ]

to your ~/.docker/config.json file.

I don't know if Homebrew also installs Credentials Helper with Compose, so you might have to do:

brew install docker-credential-helper

If you can't use Homebrew, I think you'll have to do the following.

Install Credentials Helper using Docker's instructions here.

Go into ~/.docker/config.json and make sure the value for credsStore is osxkeychain. My file looks like:

{
    "auths": {},
    "credsStore": "osxkeychain",
    "currentContext": "colima",
    "plugins": {
        "debug": {
            "hooks": "exec"
        },
        "scout": {
            "hooks": "pull,buildx build"
        }
    },
    "features": {
        "hooks": "true"
    }
}

Download latest Docker Compose from here for your architecture (aarch64 for Apple Silicon): https://github.com/docker/compose/releases/latest

Copy the executable to /usr/local/bin, naming it docker-compose.

From there, make sure it's executable:

sudo chmod +x docker-compose

Clear Apple's scareware:

sudo xattr -d com.apple.quarantine docker-compose

As in the Homebrew case, add

 "cliPluginsExtraDirs": [
     "/opt/homebrew/lib/docker/cli-plugins"
 ]

to your ~/.docker/config.json file.

Open a new terminal session and try

docker compose version

If that doesn't work, try

docker-compose version

If that works, the cliPluginsExtraDirs entry in the config.json file isn't working.

🌐
Docker Docs
docs.docker.com › manuals › docker desktop › install docker desktop on mac
Install Docker Desktop on Mac | Docker Docs
May 28, 2026 - Install Docker Desktop for Mac to get started. This guide covers system requirements, where to download, and instructions on how to install and update.
🌐
Docker Docs
docs.docker.com › manuals › docker compose
Docker Compose | Docker Docs
May 28, 2026 - Compose works in all environments - production, staging, development, testing, as well as CI workflows. It also has commands for managing the whole lifecycle of your application: ... Follow the instructions on how to install Docker Compose.
🌐
Docker
docker.com › get started | docker
Get Started | Docker
November 24, 2025 - Learn how to install Docker · Download Docker Desktop · Download for Mac – Apple Silicon · Download for Mac – Intel Chip · Download for Windows – AMD64 · Download for Windows – ARM64 · Download for Linux · Connect, collaborate, and create on Docker Hub — a central repository for finding and sharing container images and applications with ease.
Find elsewhere
🌐
Reddit
reddit.com › r/docker › [macos] can i get away with just docker cli and docker-compose cli?
r/docker on Reddit: [MacOS] Can I get away with just docker CLI and Docker-compose CLI?
July 22, 2024 -

Hello everyone,

I am a long-time Windows user, but I am finally making the switch to a MacBook Pro M1 Pro for development. I tried switching a year ago but couldn't make the transition at that time. For my daily tasks, I need to use Docker.

I believe that I can accomplish what I need with just the Docker CLI and Docker Compose CLI. However, since I am not very familiar with the macOS ecosystem, there might be some options I am overlooking.

Here is what I need:

  • Build and run Docker containers

  • Orchestration via Docker Compose

  • ARM native support

  • Kubernetes would be nice, but it's not a requirement

On Windows, I have been using Docker Desktop. Since I am transitioning to a completely new ecosystem, I wanted to explore the available options. Here is what I have found:

  • Podman

  • Rancher Desktop

  • Colima

  • Orbstack

  • And of course, Docker Desktop

I prefer CLI tools for the most part, as long as they are robust and easy to use. While I am not opposed to GUIs, I spend most of my time in the terminal. As long as the software is well-built, fast, and does not consume excessive resources, I am fine.

Any input or advice you might have would be greatly appreciated.

Thanks a lot!

🌐
GitHub
gist.github.com › barseghyanartur › 3858a9916693057a01ec352fd3278329
Install Docker and Docker-Compose on macOs
brew install docker brew install docker-compose brew install docker-buildx brew install colima
🌐
Marczin
marczin.dev › blog › compose-as-docker-plugin
Switch to compose as a plugin on macOS | Dániel Marczin
August 25, 2024 - On a more serious note, I often ... compose as a plugin, all you have to do is to link your docker-compose binary in a directory where docker is looking for its plugins....
🌐
Docker Community
forums.docker.com › docker desktop
How to install docker-compose v2 in Mac Ventura? - Docker Desktop - Docker Community Forums
December 21, 2022 - I have the below docker desktop installed in Mac Ventura 13.0.1 (M1 Pro chip). Version 4.5.0 Engine 20.10.12 Compose 1.29.2 Kubernetes 1.22.5 Can someone let me know how can I upgrade compose to version 2.26.0?
🌐
Medium
medium.com › @piyushkashyap045 › comprehensive-guide-installing-docker-and-docker-compose-on-windows-linux-and-macos-a022cf82ac0b
Comprehensive Guide: Installing Docker and Docker Compose on Windows, Linux, and macOS | by Piyush Kashyap | Medium
December 6, 2024 - Whether you’re a beginner or an experienced developer, getting Docker up and running on your system can sometimes be tricky. In this guide, we will walk you through the installation process for Docker and Docker Compose on Windows, Linux, and macOS, providing a detailed, step-by-step approach for each platform.
🌐
GitHub
github.com › abiosoft › colima › discussions › 874
How do I make `docker compose` work when using colima? · abiosoft/colima · Discussion #874
I was in the same situation recently, so just a guess -- you use Homebrew to install docker-compose.
Author   abiosoft
🌐
Medevel
medevel.com › how-to-install-docker-and-docker-compose-on-windows-linux-and-macos-2024
How to install Docker and Docker Compose on Windows, Linux, and macOS (2024)
December 18, 2023 - Docker Compose simplifies the process of managing and orchestrating multi-container applications, making it a powerful tool for development, testing, and production environments. Here are the steps to install Docker and Docker Compose on different operating systems:
🌐
Tailscale
tailscale.com › docs › features › containers › docker
Docker · Tailscale Docs
Refer to Tailscale Docker code ... you can install alongside the Tailscale client in a container. Docker components overview covering Engine that runs containers, Dockerfiles that define images, images that package apps, containers that run them, and Compose for multi container ...
🌐
Reddit
reddit.com › r/docker › can someone please help me understand how to use compose with docker desktop?
r/docker on Reddit: Can Someone please help me understand how to use Compose with Docker Desktop?
September 5, 2024 -

I installed Docker Desktop recently in an effort to understand docker and since several apps I've found have had that as almost the only way to install. I've been able to pull the images for what I was trying out, start it, set the port/volumes so that data/config is saved, and all is well.

Now I'm trying to use some other apps I've come across which have more than one service included (postgres as a DB in this case) and it looks like Compose is pretty much required for that. I tried just running another container with postgres but wasn't able to get that working.

I checked in Docker Desktop and can see Compose is installed but no idea how to use it. When I have tried to google it nothing is actually using Desktop but is using a command line instead. I have no idea how to get to that command line or even if I can where the compose directory would be to put the yaml file if I did. What documentation I have found had been pretty much useful so I don't know if I completely down the wrong path.

Edit: Thank you everyone. With the info from hirakath I am now up and running. Biggest issue I believe is that I have worked mostly in Windows through the years and had never heard anyone refer to the command prompt as terminal. I thought that was something different and I wasn't understanding where to find it. I am by no means a developer and just using this to learn and experiment with some programs I believe would be useful.

🌐
Build with Matija
buildwithmatija.com › blog › install-docker-cli-on-mac-with-colima
Install Docker CLI on Mac with Colima — Fast Guide 2026 | Build with Matija
1 month ago - Docker CLI on Mac: Install Docker CLI with Colima to replace Docker Desktop, fix osxkeychain issues, run docker-compose, and streamline CLI…
🌐
Paperless-ngx
docs.paperless-ngx.com › setup
Setup - Paperless-ngx
Docker and Docker Compose must be installed. macOS users will need GNU sed with support for running as sed as well as wget.
🌐
IONOS
ionos.com › digital guide › server › configuration › docker compose on mac
How to use Docker Compose on Mac - IONOS
November 1, 2023 - Docker Compose helps you manage and or­ches­trate your Docker con­tain­ers. The tool can be installed on macOS in just a few steps in the terminal and is an ideal com­ple­ment for container man­age­ment with Docker.
🌐
Linux Hint
linuxhint.com › upgrade-docker-compose-mac
How to Upgrade Docker Compose on Mac – Linux Hint
Docker compose is an effective tool that helps you create, deploy, and manage Docker applications. You can easily upgrade Docker compose on Mac by installing its latest version from the Homebrew package manager. Homebrew will install Docker compose on your existing installation.