1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #11728 from crosbymichael/lxc-mkdir

Mkdir for lxc root dir before setup of symlink
This commit is contained in:
Jessie Frazelle
2015-03-24 16:25:12 -07:00

View File

@@ -49,6 +49,9 @@ type activeContainer struct {
}
func NewDriver(root, initPath string, apparmor bool) (*driver, error) {
if err := os.MkdirAll(root, 0700); err != nil {
return nil, err
}
// setup unconfined symlink
if err := linkLxcStart(root); err != nil {
return nil, err