mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #1077 from rajasec/readme-container-usage
Updating libcontainer README for container run
This commit is contained in:
@@ -185,7 +185,7 @@ process := &libcontainer.Process{
|
||||
Stderr: os.Stderr,
|
||||
}
|
||||
|
||||
err := container.Start(process)
|
||||
err := container.Run(process)
|
||||
if err != nil {
|
||||
container.Destroy()
|
||||
logrus.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user