implement kpod rename
rename a container Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
This commit is contained in:
parent
a69631c1bd
commit
1eb21f8e15
9 changed files with 261 additions and 1 deletions
|
@ -160,6 +160,11 @@ func (c *Container) Sandbox() string {
|
|||
return c.sandbox
|
||||
}
|
||||
|
||||
// Dir returns the the dir of the container
|
||||
func (c *Container) Dir() string {
|
||||
return c.dir
|
||||
}
|
||||
|
||||
// NetNsPath returns the path to the network namespace of the container.
|
||||
func (c *Container) NetNsPath() (string, error) {
|
||||
if c.state == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue