I switched from the official image to linuxserver.io for the better nvidia GPU setup. Had issues getting the official image to utilise the GPU properly which was solved immediately when I switched.