MAC OS Docker Desktop unable to connect Serial device running micro-ros-agent image

Open
#108 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, macos

Research direction

Start with the reported Docker Desktop command using /dev/cu.usbmodem1301 and the microros/micro-ros-agent:jazzy image. Investigate how the macOS serial device is exposed to Docker, and consider the issue done when the image can connect to the Raspberry Pico over USB.

Written by the indexing model from the issue text.

Description

Issue template

Steps to reproduce the issue

Verified Serial port name:
Ross@Kepler ~ % ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem1301

Start Docker Desktop, % docker run -it --net=host --device=/dev/cu.usbmodem1301 microros/micro-ros-agent:jazzy serial

Expected behavior

Connect to Pico USB Port

Actual behavior

docker: Error response from daemon: error gathering device information while adding custom device "/dev/cu.usbmodem1301": no such file or directory

Run 'docker run --help' for more information

Additional information
Dominant language
Dockerfile
Stars
59
Forks
32
Avg merge
16m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from micro-ROS/docker

All issues in micro-ROS/docker

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.