mirror of https://github.com/docker/docs.git
Fixed a bug which caused Container.Start() to fail when the rootfs was already mounted.
This commit is contained in:
parent
e920cb9cd9
commit
fc19a00103
|
@ -170,7 +170,7 @@ func (container *Container) generateLXCConfig() error {
|
|||
}
|
||||
|
||||
func (container *Container) Start() error {
|
||||
if err := container.Filesystem.Mount(); err != nil {
|
||||
if err := container.Filesystem.EnsureMounted(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue