How can I set knobs when using the official docker image?

I’m trying to use the official FDB docker image for local development and I’d like to set some knobs, how do I do that? docker run foundationdb/foundationdb:... --knob_min_available_space_ratio=0 seems to do nothing.

I believe the current docker image doesn’t support this out of the box and the easiest way to do this is by running a command like this:

docker run -ti --platform="linux/amd64" --entrypoint=/bin/bash foundationdb/foundationdb:7.1.22 -c "sed -i '$ s/$/ --knob_disable_posix_kernel_aio=1/' /var/fdb/scripts/fdb.bash && /var/fdb/scripts/fdb.bash"