If you use hardware transcoding or similar features, you'll have to find out how to pass the necessary devices through into the docker container!
This tutorial does this (if I read the compose fole right). https://drfrankenstein.co.uk/2021/12/06/plex-in-docker-on-a-synology-nas-hardware-transcoding/
Not sure if it is any good, I haven't tried it.