ldd: mount /proc in container
This covers host /proc. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
5d3c8dcc92
commit
bf07b7cd9e
@ -31,7 +31,7 @@ func ExecFilter(ctx context.Context,
|
||||
stdout, stderr := new(bytes.Buffer), new(bytes.Buffer)
|
||||
container.Stdout = stdout
|
||||
container.Stderr = stderr
|
||||
container.Bind("/", "/", 0).Dev("/dev")
|
||||
container.Bind("/", "/", 0).Proc("/proc").Dev("/dev")
|
||||
|
||||
if err := container.Start(); err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user