New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wp-env - Migrate to Compose V2 #51249
Comments
For anyone stumbling upon this issue while running wp-env on POSIX/Linux, a temporary solution is to install the standalone version that uses the docker-compose syntax currently utilized by the wp-env project. You can find the version 1 documentation and installation instructions here: https://docs.docker.com/compose/install/standalone/ |
For better developer experience across platforms this could always check for A current-version Docker Desktop install or docker open-source install (e.g. via brew) on MacOS will not have a In contrast with MacOS, a user running Windows with Docker Desktop installed on Windows and running linux via WSL2 is likely to have more flexibility with a typical setup. It is likely both A highly likely and generally recommended setup for current Windows + WSL users is Docker Desktop installed on the Windows side with the following settings enabled: "Use WSL 2 Based Engine" and "Use Docker Compose V2" (the latter enables V2 on I would add to the docs to suggest trying the A common problem that comes up with Docker on WSL2 these days is related to |
Update docker-compose package to 0.24.1 Use v2 as dockerCompose command Fixes WordPress#51249
Update docker-compose package to 0.24.1 Use v2 as dockerCompose command Fixes #51249
What problem does this address?
Compose V1 no longer receives updates and will not be available in new releases of Docker Desktop after June 2023.
Docker Desktop will continue to provide the 'alias' command; however, outside of that, it's not possible to run 'wp-env,' for example, on Fedora, as the new command is 'docker compose' (without a hyphen) - screenshot attached for more context.
What is your proposed solution?
wp-env should migrate from docker-compose to docker compose V2 plugin according to the next guide in the near future
The text was updated successfully, but these errors were encountered: