-1

I have been trying to install airbyte in Docker Desktop using the following instructions:

git clone https://github.com/airbytehq/airbyte.git
cd airbyte
./run-ab-platform.sh 

The problem is: the command "./run-ab-platform.sh" does not execute. It just open the script. The Windowns Powershell should execute the command and this command should install many containers and images in Docker Desktop.

I have already uninstall the Docker Desktop and make all the process again, but still with the same problem.

Anyone know how can I proceed?

Best regards.

enter image description here enter image description here

Tom Solid
  • 2,226
  • 1
  • 13
  • 32
RaulLeite
  • 1
  • 1
  • Running script files with the .sh extension will not be executed in Windows PowerShell - these files typically have a .ps1 extension. Looking at the ./run-ab-platform.sh, the first line has "#!/bin/bash" which tells me it's a bash script. – skyhammer Aug 01 '23 at 23:28
  • Hey Skyhammer! Now it works. I was in the PowerShell and I put "bash" and after this I was in the Linux system. I went at airbyte folder and finally the command ./run-ab-platform.sh works! Thanks! – RaulLeite Aug 02 '23 at 13:14

1 Answers1

0

That's a Bash script. You can tell from the first line where it specifies the interpreter. Powershell is a different shell entirely. You need to run it from in WSL.

Zac Anger
  • 6,983
  • 2
  • 15
  • 42
  • Hey, Zac. Now it works. I was in the PowerShell and I put "bash" and after this I was in the Linux system. I went at airbyte folder and finally the command ./run-ab-platform.sh works! Thanks! – RaulLeite Aug 02 '23 at 13:14