Might be mis-reading the LXD codebase but it looks like the quota should be applied:
func containerConfigureInternal(c container) error { // Find the root device for _, m := range c.ExpandedDevices() { if m["type"] != "disk" || m["path"] != "/" || m["size"] == "" { continue }
size, err := shared.ParseByteSizeString(m["size"]) if err != nil { return err }
err = c.Storage().ContainerSetQuota(c, size) if err != nil { return err }
break }
return nil }
Might be mis-reading the LXD codebase but it looks like the quota should be applied:
func containerConfig ureInternal( c container) error {
continue
// Find the root device
for _, m := range c.ExpandedDevices() {
if m["type"] != "disk" || m["path"] != "/" || m["size"] == "" {
}
size, err := shared. ParseByteSizeSt ring(m[ "size"] )
if err != nil {
return err
}
err = c.Storage( ).ContainerSetQ uota(c, size)
if err != nil {
return err
}
break
}
return nil
}