Open jedahan opened 2 years ago
Does this work with docker?
@baude @ashley-cui PTAL
Have you tried this with docker-compose instead of podman-compose?
This has nothing to with compose, it is about getting devices from the host into the machine VM.
A friendly reminder that this issue had no activity for 30 days.
@baude @ashley-cui PTAL
A friendly reminder that this issue had no activity for 30 days.
Do you have the docker-compose snippet I can look at? Docker doesn't support USB passthrough AFAIK, if that's what you're looking for.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I am trying to bring up a docker-compose.yml using podman-machine + podman-compose on an M1 mac running macOS. The compose file looks to mount /dev/bus/usb, but when I
podman machine ssh
, it seems there is no/dev/bus
. How should I setup /dev/bus with the default podman machine image?Steps to reproduce the issue:
// Observing
/dev/bus
doesn't existpodman machine init
podman machine ssh
ls -al /dev/bus
// Try running this docker-compose.yml with podman-compose
git clone https://github.com/flipperdevices/flipperzero-firmware.git && cd flipperzero firmware
podman machine init
podman-compose up --detach
Describe the results you received:
ls: cannot access '/dev/bus': No such file or directory
Describe the results you expected:
Mounted filesystem with
usb
, or documentation on how to configure a way to mount this.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):