Bump Libcontainer to latest head
This commit is contained in:
7
vendor/github.com/opencontainers/runc/libcontainer/README.md
generated
vendored
7
vendor/github.com/opencontainers/runc/libcontainer/README.md
generated
vendored
@@ -77,7 +77,7 @@ config := &configs.Config{
|
||||
Parent: "system",
|
||||
Resources: &configs.Resources{
|
||||
MemorySwappiness: nil,
|
||||
AllowAllDevices: false,
|
||||
AllowAllDevices: nil,
|
||||
AllowedDevices: configs.DefaultAllowedDevices,
|
||||
},
|
||||
},
|
||||
@@ -186,8 +186,8 @@ process := &libcontainer.Process{
|
||||
|
||||
err := container.Start(process)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
container.Destroy()
|
||||
logrus.Fatal(err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -219,6 +219,9 @@ container.Resume()
|
||||
|
||||
// send signal to container's init process.
|
||||
container.Signal(signal)
|
||||
|
||||
// update container resource constraints.
|
||||
container.Set(config)
|
||||
```
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user