How to restart container when usb recconecting

Then I don’t understand the problem since I just wrote this:

If you can recreate it, then you can also restart it. It is up to you. Sometimes restarting is not enough and there is only a little difference between restarting and recreating, since the process inside the container will be restarted in both cases, but you need to recreate a container if for some reasons the device gets a different name.

1 Like