We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b50fa98 + 3f32e72 commit 8aca072Copy full SHA for 8aca072
libcontainer/specconv/example.go
@@ -155,9 +155,9 @@ func Example() *specs.Spec {
155
}
156
157
158
-// ExampleRootless returns an example spec file that works with rootless
159
-// containers. It's essentially a modified version of the specfile from
160
-// Example().
+// ToRootless converts the given spec file into one that should work with
+// rootless containers, by removing incompatible options and adding others that
+// are needed.
161
func ToRootless(spec *specs.Spec) {
162
var namespaces []specs.LinuxNamespace
163
0 commit comments