codecrafters-io / docker-explorer

A test program to help with the Docker challenge
13 stars 4 forks source link

Error: Bad CPU type in the executable while running the docker-explorer #2

Open DnvSaiteja opened 2 weeks ago

DnvSaiteja commented 2 weeks ago

Hello,

I have followed the below commands as described in Readme page.

sudo curl -Lo /usr/local/bin/docker-explorer https://github.com/codecrafters-io/docker-explorer/releases/download/v17/v17_darwin_amd64

sudo chmod +x /usr/local/bin/docker-explorer docker-explorer echo hey

but below is the error I am getting. Any workaround for this -bash: /usr/local/bin/docker-explorer: Bad CPU type in executable

rohitpaulk commented 2 weeks ago

@DnvSaiteja can you try using darwin_386 instead? This might have to do with Apple silicon vs. Intel Macs.