Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions daemon/mgr/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -1583,6 +1583,9 @@ func (mgr *ContainerManager) parseBinds(ctx context.Context, meta *ContainerMeta

func (mgr *ContainerManager) setMountPointDiskQuota(ctx context.Context, c *ContainerMeta) error {
if c.Config.DiskQuota == nil {
if c.Config.QuotaID != "" && c.Config.QuotaID != "0" {
return fmt.Errorf("invalid argument, set quota-id without disk-quota")
}
return nil
}

Expand Down