Automount usb-stick (plug&play)

Hello,
I wonder if I can automount an usbstick in a debian container,
hosted on a not accessible linux system.
Its working manually, but i have to plug in usb first, then start device (its an iot gateway) and mount usbstick later.
Would be nice if I could just plug the stick into the running device, copy data automatically and then remove it but i didnt get it working yet.

best regards,

Paul