Skip to content

add optionto set the docker 'device' command line argument - #1644

Merged
firecow merged 1 commit into
firecow:masterfrom
djpnewton:docker-device
Sep 19, 2025
Merged

add optionto set the docker 'device' command line argument#1644
firecow merged 1 commit into
firecow:masterfrom
djpnewton:docker-device

Conversation

@djpnewton

@djpnewton djpnewton commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Not sure how to make a test for this.

Devices like /dev/null are already present in the docker container. So you need a new device present on the machine to share with docker.

You could do something like this https://stackoverflow.com/questions/23135589/create-dev-fakedevice-supporting-read-write-and-ioctl to make a new character device but you would need root to install it.

Would docker in docker help here?

@firecow
firecow merged commit a425320 into firecow:master Sep 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants