Skip to content

Use devcontainers #28

@asomov

Description

@asomov

Thank you very much for the great info.
I would like to use it to make use of devcontainers in VS code.
(I can contribute the config files)
My challenge is to connect the USB port with ST-Link from the host Mac to the docker container. I find a lot of info out there, but without any success to make it actually connect.
Do you know if it is possible?
I assume the devcontaners config (devcontainer.json) should get something similar to this:

  "runArgs": [
    "--device=/dev/bus/usb"
  ],
  "mounts": [
    "source=/dev/bus/usb,target=/dev/bus/usb,type=bind"
  ]

I found out that USBIP (USB over IP) is now well supported for Docker Desktop on Mac, but I could detect any valid instructions to make it work with devcontainers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions