I am not comfortable permitting models to run many commands, like perl which can lead to making some changes to my computer outside the project repository. Instead of manually approving each time, I wonder if using a Docker image for my project will provide some isolation. In Docker, I can allow it to run pretty much any command without worrying about security.
Would that work as I expect? For example, when I allow some command, say “perl”, would it remember that it was allowed only for this project/workspace? Has anyone tried using it with Docker? Are there any good instructions?