VolumesFrom is part of HostConfig

This commit is contained in:
Girish Ramakrishnan
2015-10-20 17:34:47 -07:00
parent 16df15cf55
commit 1a2948df85

View File

@@ -183,9 +183,9 @@ function createSubcontainer(app, cmd, callback) {
"MaximumRetryCount": 0
},
CpuShares: 512, // relative to 1024 for system processes
VolumesFrom: isAppContainer ? null : [ app.containerId + ":rw" ],
SecurityOpt: config.CLOUDRON ? [ "apparmor:docker-cloudron-app" ] : null // profile available only on cloudron
},
VolumesFrom: isAppContainer ? [ ] : [ app.containerId ]
}
};
// older versions wanted a writable /var/log