How to use magnet links in docker-transmission

Is there a way to use magnet links in docker-transmission? Tried searching allaround but didn’t find anything useful(?) There were some examples of scripts and transmission-remote, but these are not easily used in docker.

How do you use magnet links?

Ok, I used a script with transmission-remote --auth user:passwd --add in crontab

This seems to work, although it has to be made again after update. Any suggestions how to make this easier / recurring after updates etc?