Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I resolve a "docker: invalid reference format" error when installing Azure SQL Edge on an M1 Mac?

I've been trying to install Azure SQL Edge using Docker on my M1 MacBook using this guide and I'm not able to run the following command:

docker run -d — name MySQLServer -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=your_password123’ -p 1433:1433 mcr.microsoft.com/azure-sql-edge

Because of this error:

docker: invalid reference format

How can I resolve this?

like image 444
Paul_Harrison Avatar asked Feb 03 '26 12:02

Paul_Harrison


1 Answers

I had the exact same issue and used the same documentation. I was able to fix it by typing the command instead of copy pasting

docker run -d --name MySQLServer -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourpassword' -p 1433:1433 mcr.microsoft.com/azure-sql-edge
like image 126
vinoo jayakody Avatar answered Feb 06 '26 07:02

vinoo jayakody



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!