Skip to content
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
@MrThePlague

Description

@MrThePlague

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:

Screen Shot 2021-04-26 at 10 55 11 AM

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:

  1. Create new folder and open in VS Code
  2. Remote Container: Add Development Container Configuration Files... (Azure Functions & Python 3)
  3. Reopen in Container
  4. Azure Functions: Create Function:
    • Python
    • Virtual ENV: python3 (3.8.9)
    • Trigger: Timer
      • Default timer
  5. Run and Debug: Attach to Python Function

These steps work fine when executed on an Intel machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions