criztovyl / fix-podman-changed-dev-layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script for fixing Podman not being able to start stopped, privileged, containers due to gone-missing /dev nodes, e.g. when a USB device was unplugged since container creation.

Additionally requires jq to be installed.

podman#4900: a rootless privileged container refuses to start if a host device layout has changed

./fix.sh container-id dev-node

for example

./fix.sh d43fdc7199a4c9475c9b51ee3e0cc667d55376ff7182befcaecfe6779b6d56cb /dev/bus/usb/003/003

Used tools:

About


Languages

Language:Shell 92.5%Language:Dockerfile 7.5%