Skip to content

failure to deploy docker container when enforcing storage limit on the container when the underlying disk storage for container is not on the root partition #68

@skmonga

Description

@skmonga

This issue is observed when deploying containers through Violet with storage limit enforced using the options --storage-opt size=xM . The underlying disk storage for docker images , containers etc is not on the root partition. A separate xfs filesystem is mounted and /var/lib/docker is symlinked to it. The container deployment fails as the xfs filesystem is mounted with defaults and doesn't support setting up pquota on individual containers.

A solution that worked for me is to specify the pquota option in /etc/fstab file for this xfs filesystem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions