Skip to content

podman cannot mount the device in macos #50

@cdaringe

Description

@cdaringe

Problem

🌲rust-esp32-example $ podman run --platform linux/arm64 --rm --device "/dev/cu.usbserial-10" -it espressif/idf-rust-examples
WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
Error: stat /dev/cu.usbserial-10: no such file or directory
🌲rust-esp32-example $ stat /dev/cu.usbserial-10
4035832191 1213 crw-rw-rw- 1 root wheel 150994951 0 "Jan 13 15:23:54 2024" "Jan 13 15:23:54 2024" "Jan 13 15:23:54 2024" "Dec 31 16:00:00 1969" 65536 0 0 /dev/cu.usbserial-10

https://www.redhat.com/sysadmin/files-devices-podman

Discussion

My gut tells me this only works in linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions