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

Use runc exec to start User Docker

This commit is contained in:
Josh Curl
2016-09-09 09:06:23 -07:00
parent 238c393640
commit 21cf86665b
3 changed files with 21 additions and 98 deletions

View File

@@ -190,7 +190,7 @@ func setupSharedRoot(c *config.CloudConfig) (*config.CloudConfig, error) {
}
if isInitrd() {
for _, i := range []string{"/mnt", "/media"} {
for _, i := range []string{"/mnt", "/media", "/var/lib/system-docker"} {
if err := os.Mkdir(i, 0755); err != nil {
return c, err
}