1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Add rancher user and lock root

This commit is contained in:
Darren Shepherd
2015-02-20 11:29:17 -07:00
parent 7f3ee5d9ef
commit 4b2e98e238
6 changed files with 24 additions and 3 deletions

View File

@@ -380,11 +380,16 @@ func (c *Container) start(wait bool) *Container {
if c.Exists() && c.remove {
log.Debugf("Deleting container %s", c.Container.ID)
c.Delete().Reset().Lookup()
c.Delete()
if c.Err != nil {
return c
}
c.Reset().Lookup()
if c.Err != nil {
return c
}
}
if !c.Exists() {