tox-docker icon indicating copy to clipboard operation
tox-docker copied to clipboard

Allow the user to set a container as `privileged`

Open judahrand opened this issue 2 years ago • 3 comments

I'm trying to set up some integration tests which need k3s to run. However, this container needs to run as privileged.

This deals with this better than #131 as it handles the possible string values passed in the .ini file.

judahrand avatar Jul 07 '22 11:07 judahrand

@dcrosta Is this something you'd be happy to merge?

judahrand avatar Jul 07 '22 13:07 judahrand

Can you say more about the use case here? I'm trying to understand how widespread this is, and whether there are any workarounds

dcrosta avatar Mar 26 '23 12:03 dcrosta

Can you say more about the use case here? I'm trying to understand how widespread this is, and whether there are any workarounds

https://github.com/judahrand/sherlock/blob/83c3817690c487b181c3f2eddcc3752f61be7630/tox.ini#L46-L61

I'm using an image to perform integration testing using Kubernetes. This requires privilege.

judahrand avatar Mar 26 '23 19:03 judahrand