runtime: update virtcontainers API documentation

Virtcontainers API documentation is outdated, update documentation from the latest
source.

Fixes: #1455

Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
bin
2021-02-25 10:38:57 +08:00
parent b9489e6c6e
commit 532ff7c909
6 changed files with 417 additions and 273 deletions

View File

@@ -805,7 +805,7 @@ func (c *Container) checkBlockDeviceSupport(ctx context.Context) bool {
return false
}
// createContainer creates and start a container inside a Sandbox. It has to be
// create creates and starts a container inside a Sandbox. It has to be
// called only when a new container, not known by the sandbox, has to be created.
func (c *Container) create(ctx context.Context) (err error) {
// In case the container creation fails, the following takes care