Running Docker on M1 Mac - docker: compose is not a docker

Running Docker on M1 Mac - docker: compose is not a docker

David Carr

1 min read - 13th Nov, 2022

M1 Mac Laravel Docker sail

When upgrading from an Intel mac to an Apple Silicone I noticed docker fails to run. I'm using Laravel Sail when Sail is installed or when a sail up command is attempted I get an error:

docker: 'compose' is not a docker command

The reason for this is a docker-compose is now a plugin. Docker needs docker-compose to be installed. Use brew to install docker-compose

brew install docker-compose

Once installed sail will function normally without any extra setup.

0 comments
Add a comment

Copyright © 2024 DC Blog - All rights reserved.