Recommended way of running docker within a sandbox? #1314
Unanswered
manfredlift
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the upstream Pi coding agent profile that has been extended by myself. In some repos I have a need to do
docker buildor evendocker runfor testing. What's the best way to allow this with minimal security sacrifices?Currently I just added below to the profile
"allow_file": [], "read_file": [], "write_file": [], + "unix_socket": ["/Users/mliiv/.colima/default/docker.sock"], "deny": [], "bypass_protection": [], "suppress_save_prompt": [] @@ -33,6 +34,11 @@ "listen_port": [], "custom_credentials": {} }, + "environment": { + "set_vars": { + "DOCKER_HOST": "unix:///Users/<user>/.colima/default/docker.sock" + } + },Beta Was this translation helpful? Give feedback.
All reactions