# Docker: 'compose' is not a docker command - MAC OS X

**URL:** <https://forums.docker.com/t/docker-compose-is-not-a-docker-command-mac-os-x/136321>\
**Category:** Docker Desktop\
**Tags:** docker, macos\
**Created:** [June 4, 2023, 12:02pm UTC](https://forums.docker.com/t/docker-compose-is-not-a-docker-command-mac-os-x/136321 "2023-06-04T12:02:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rimelek](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/rimelek/32/41602_2.png) [@rimelek](https://forums.docker.com/u/rimelek)\
**Post date:** [June 4, 2023, 12:36pm UTC](https://forums.docker.com/t/docker-compose-is-not-a-docker-command-mac-os-x/136321/2 "2023-06-04T12:36:54Z")

</div>

I haven’t read everything you wrote (please, format your post next time using the code block icon (`</>`) but this issue seems to be the same

> [@Docker compose stopped working](https://forums.docker.com/t/docker-compose-stopped-working/136273):
>
> From one day to another, I started getting docker: ‘compose’ is not a docker command. I’m running Docker Desktop and got compose through that. This is on a Mac M1 running MacOS 13.3.1 and installed using the .dmg at [Install Docker Desktop on Mac | Docker Documentation](https://docs.docker.com/desktop/install/mac-install/) ‘which docker’ points to /usr/local/bin/docker I re-installed Docker Desktop (put in bin and re-installed the .dmg) and now it reports these versions: Engine: 24.0.2 Compose: v2.18.1 Credential Helper: v0.7.0 Kubernetes: v1…

And another permission issue I reffered to:

> [@Enable docker commands run without sudo](https://forums.docker.com/t/enable-docker-commands-run-without-sudo/135671):
>
> How can I enable accessing Docker through terminal in Mac without always typing ‘sudo’? If I type docker or docker-compose, I'm getting 'ZSH command not found, but when I’m adding sudo it works as intended. I tried to do the tricks found through the internet, but no one actually works: sudo dscl . delete /Groups/docker GroupMembership Myusername sudo chmod a+x /usr/local/bin/docker-compose All types of other advices are intended for Linux, not Mac. The permissions seems to be okay: lrwxr-…

---

_[View the full topic](https://forums.docker.com/t/docker-compose-is-not-a-docker-command-mac-os-x/136321)._
