https://promptfoo.dev/ logo
Running redteam testing inside container
# questions
y
The promptfoo container is read only, I can map my promptfooconfig.xml file from my local to the container. But it will always generate/update the redteam.yaml file so not able to get it working. Any tips? Appreciate it!
or the question can be, how to run redteam through container
o
Hi Yang, I suggest using the docker-compose directions to streamline adding volumes attached to your container: https://www.promptfoo.dev/docs/usage/self-hosting/#method-2-using-docker-compose. You can control the directory the redteam.yaml file gets generated at by referring to the cli reference: https://www.promptfoo.dev/docs/usage/command-line/#promptfoo-redteam-generate. If you output this to the volume mount this should be writeable.