Skip to content

Commit

Permalink
Merge pull request #934 from bcressey/admin-debugfs
Browse files Browse the repository at this point in the history
mount debugfs in superpowered containers
  • Loading branch information
bcressey authored May 28, 2020
2 parents 13bef9e + cb03316 commit b916fc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sources/host-ctr/cmd/host-ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,11 @@ func withSuperpowered(superpowered bool) oci.SpecOpts {
Options: []string{"rbind", "ro"},
Destination: "/usr/src/kernels",
Source: "/usr/src/kernels",
},
{
Options: []string{"rbind"},
Destination: "/sys/kernel/debug",
Source: "/sys/kernel/debug",
}}),
)
}
Expand Down

0 comments on commit b916fc3

Please sign in to comment.