You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Ubuntu 20.04 devcontainer that should mount the /dev directory of the local host to share an usb microphone.
When i run the container with the --volume argument that directory isn't mounted.
I also tried to add the /dev directory in docker desktop settings, under Resources->File sharing, but then it cannot build the container, getting the error "can't open /dev/null"
Description
I have a Ubuntu 20.04 devcontainer that should mount the /dev directory of the local host to share an usb microphone.
When i run the container with the --volume argument that directory isn't mounted.
I also tried to add the /dev directory in docker desktop settings, under Resources->File sharing, but then it cannot build the container, getting the error "can't open /dev/null"
Reproduce
On VSCode press "rebuild and reopen container"
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 27.3.1 API version: 1.47 Go version: go1.22.7 Git commit: ce12230 Built: Fri Sep 20 11:41:03 2024 OS/Arch: linux/amd64 Context: desktop-linux Server: Docker Desktop 4.35.1 (173168) Engine: Version: 27.3.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.7 Git commit: 41ca978 Built: Fri Sep 20 11:41:11 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.21 GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111 runc: Version: 1.1.13 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
1D947B57-D711-46FB-904A-2FB49FF778B1/20241114124019
Additional Info
No response
The text was updated successfully, but these errors were encountered: