How to do 2 Pass encoding with the linuxserver/ffmpeg Docker?

i am using the linuxserver/ffmpeg Docker in UnRaid but im not entirely sure how to do that. I understand i need to use a command to start the container and the ffmpeg encode. I know how to use ffmpeg, i just don’t know much about Docker :slight_smile:
I am currently stuck on how to pass the commands for 2 pass encoding, since they are usually run one after the other.
My best bet so far is to create a actual passlog file rather than sending it to /dev/null like you usually would and then restart the container with the commands for second pass, but that feels like I’m making things unnecessarily complicated.
I have already tried just using && to connect the two sets of instructions but with no success.
Any suggestions? :slight_smile: