Skip to content

[bug] pouchd config file doesn't support some flags #1003

@Letty5411

Description

@Letty5411

Ⅰ. Issue Description

pouch deamon doesn't support flags:
LxcfsHome, QuotaDriver, VolumeConfig, NetworkConfg, DefaultRegistry, DefaultRegistryNS, TLS, CriConfig

#pouchd --config-file /etc/pouch/config.json
ERRO[0000] failed to load daemon file: unknown flags: LxcfsHome, QuotaDriver, VolumeConfig, NetworkConfg, DefaultRegistry, DefaultRegistryNS, TLS, CriConfig

#cat /etc/pouch/config.json |python -m json.tool
{
    "CriConfig": {
        "Listen": "",
        "NetworkPluginBinDir": "",
        "NetworkPluginConfDir": ""
    },
    "DefaultRegistry": "",
    "DefaultRegistryNS": "",
    "LxcfsHome": "",
    "NetworkConfg": {
        "BridgeConfig": {
            "FixedCIDR": "",
            "GatewayIPv4": "",
            "ICC": false,
            "IP": "",
            "IPForward": false,
            "IPMasq": false,
            "IPTables": false,
            "Mtu": 0,
            "Name": "",
            "PreferredIP": "",
            "UserlandProxy": false,
            "UserlandProxyPath": ""
        },
        "DNS": null,
        "DNSOptions": null,
        "DNSSearch": null,
        "ExecRoot": "",
        "MetaPath": "",
        "Type": ""
    },
    "QuotaDriver": "",
    "TLS": {
        "VerifyRemote": false
    },
    "VolumeConfig": {
        "ControlAddress": "",
        "DefaultBackend": "",
        "RemoveVolume": false,
        "Timeout": 0,
        "VolumeMetaPath": ""
    },
    "containerd-path": "",
    "debug": true,
    "plugin": ""
}

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis is bug report for project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions