Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MaverickChan's avatar

Install Through Docker Failed. Says: "docker: invalid reference format."

Got a new machine and decide to install Laravel through Docker on Mac.

running curl -s https://laravel.build/newApp | bash always get a message :

docker: invalid reference format.

Why ? macOS Big Sur 11.2.2 fresh new

Anyone has this problem either?

0 likes
2 replies
samwarnick's avatar

For me, the issue seemed to be that my directory had a space in it. I was trying to create it in Developer/Throw\ Away/. When I ran it in just Developer/, it was successful.

Please or to participate in this conversation.