Closed plakhin closed 3 years ago
You can't run Takeout from within Docker because it's controlling/managing Docker.
You can't run Takeout on WLS2 without installing PHP and Composer locally.
We're currently working on a Node-based version of Takeout that will solve for exactly this problem but it's weeks or months away from being live.
I'm working also on a tool called Liftoff that gets PHP and Composer and Takeout installed on your machine, but I don't have the part where it installs PHP setup yet, just everything else. https://github.com/tighten/liftoff
I'm using Laravel Sail on WSL2. Since WSL 2 doesn't have PHP and Composer installed out of the box, I tried to use
laravelsail/php74-composer
container which comes with Sail but with no success. My steps are:the last command seems to work fine, however when trying
docker run --rm -v $(pwd):/opt -w /opt laravelsail/php74-composer:latest php vendor/bin/takeout enable
I'm getting this error:How can I use takeout without installing php and composer locally into WSL2 distro?