This repository was archived by the owner on Nov 30, 2023. It is now read-only.
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
Error launching Azure Function (Python) in Azure Functions & Python 3 container on Apple M1 #835
Open
Description
I'm not 100% sure if this issue is being submitted to the correct repo; however, it looks as though I'm unable to launch a function locally when leveraging the Azure Functions & Python 3
container image when using a device running on Apple Silicon (M1).
When attempting to launch the function using the Run and Debug
window within VS Code, I receive the error:
When attempting to launch the function directly from the terminal using func host start
, I receive the error:
(.venv) vscode ➜ /workspaces/testing-azure-function $ func host start
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
(Example) Steps to reproduce:
- Create new folder and open in VS Code
- Remote Container: Add Development Container Configuration Files... (Azure Functions & Python 3)
- Reopen in Container
- Azure Functions: Create Function:
- Python
- Virtual ENV: python3 (3.8.9)
- Trigger: Timer
- Default timer
- Run and Debug: Attach to Python Function
These steps work fine when executed on an Intel machine.