'Apple M1: Laravel Sail Docker Container not building

I have a Laravel Sail Project that runs without issues on my Mac Pro from 2019

I just got a M1 from 2020, cloned my project and get this error by using

Sail Build

E: Couldn't find any package by regex 'php8.1-xdebug'

I also tried:

Sail Up

Which leads toterminal



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source