Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documentation for Docker on Mac with USB/Serial passthrough (VSC-1384) #1214

Closed
1 task done
emanuelbalea opened this issue Jun 13, 2024 · 5 comments · Fixed by #1231
Closed
1 task done

Update Documentation for Docker on Mac with USB/Serial passthrough (VSC-1384) #1214

emanuelbalea opened this issue Jun 13, 2024 · 5 comments · Fixed by #1231
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) ongoing Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot

Comments

@emanuelbalea
Copy link

OS

MacOS

Operating System version

14

Visual Studio Code version

1.7.1

ESP-IDF version

5.3

Python version

3.10.12

Doctor command output

Not applicable

Extension

Not Applicable

Description

As a developer I have been trying to maintain a consistent and portable environment between the other developers in the team.
I currently use the docker image for the build server and for dev using Docker via WSL2 on windows where using usbipd works as described at docs/tutorial/using-docker-container.md. However while it mentions mac os near the start there is no other mention of it further along.

Since a lot of our developers now use macbooks for combined ios/esp32 dev, we need to be able to do the same under mac os. Currently build works in docker on mac. However I have not been able to set up usb passthrough using the devcontainer.json file.

Could we please get this documented by someone who understands how devcontainers work? I have not been able to find consistent information about this using google searches as they reference older docker issues or framework versions.

Debug Message

Not Applicable

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@emanuelbalea emanuelbalea added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Jun 13, 2024
@github-actions github-actions bot changed the title Update Documentation for Docker on Mac with USB/Serial passthrough Update Documentation for Docker on Mac with USB/Serial passthrough (VSC-1384) Jun 13, 2024
@brianignacio5
Copy link
Collaborator

Hi @emanuelbalea sorry for late reply, I will test using docker container in MacOS but I believe the missing piece is configuring the docker container to see the serial ports. On Windows we have to do usbipd and since many users requested it was added, after we finish v1.8.0 release testing we will update documentation regarding macOS docker container use.

Apologies for the delay.

Copy link

github-actions bot commented Jul 7, 2024

This issue has been marked as stale since there are no activities, and this will be closed in 5 days if there are no further activities

@github-actions github-actions bot added the stale Stale PR or Issue label Jul 7, 2024
@emanuelbalea
Copy link
Author

Just bumping this issue to stop to stale bot as not sure if there is an internal tracking task for this or not.

@github-actions github-actions bot removed the stale Stale PR or Issue label Jul 8, 2024
@brianignacio5 brianignacio5 added the ongoing Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot label Jul 10, 2024
@brianignacio5
Copy link
Collaborator

brianignacio5 commented Jul 11, 2024

Unfortunately USB Passthrough is not yet possible with Docker on macOS as described in this github issue.

You can try to use a remote serial port with esptool.py RFC server as shown in here

@datdadev
Copy link

Unfortunately USB Passthrough is not yet possible with Docker on macOS as described in this github issue.

You can try to use a remote serial port with esptool.py RFC server as shown in here

How about Intel Mac?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) ongoing Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants