Skip to content

Instantly share code, notes, and snippets.

@fedek6
Created November 23, 2022 12:15
Show Gist options
  • Save fedek6/7168b3894fc578997b9487d8b903f5ef to your computer and use it in GitHub Desktop.
Save fedek6/7168b3894fc578997b9487d8b903f5ef to your computer and use it in GitHub Desktop.
Fix "docker-compose docker: 'compose' is not a docker command"

Taken from: docker/for-mac#6569 (comment)

Looks like the fault could be a missing symlink between /usr/local/lib/docker/cli-plugins and /Applications/Docker.app/Contents/Resources/cli-plugins

Can you try manually creating this:

mkdir -p /usr/local/lib/docker
ln -s /Applications/Docker.app/Contents/Resources/cli-plugins /usr/local/lib/docker/cli-plugins

The commands may need to be run with sudo if /usr/local is owned by root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment