We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55533f7 commit e4ca9d5Copy full SHA for e4ca9d5
utils/tests/container.go
@@ -103,7 +103,9 @@ func (c *ContainerRequest) Remove() *ContainerRequest {
103
104
// Mounts the 'hostPath' working directory from localhost into the container.
105
func (c *ContainerRequest) Mount(mounts ...mount.Mount) *ContainerRequest {
106
+ req := &c.request
107
c.request.HostConfigModifier = func(cfg *container.HostConfig) {
108
+ cfg.Privileged = req.Privileged
109
if cfg.Mounts == nil {
110
cfg.Mounts = make([]mount.Mount, 0)
111
}
0 commit comments