container
Usage: pmc container [OPTIONS] COMMAND [ARGS]...
Container commands
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit │
╰─────────────── ──────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ add Propose a new container in an existing cluster │
│ info Get information about a container │
│ limits Propose new resource limits for given container │
│ subnode-image Propose assigning subnode image to a container │
│ list List all existing containers │
│ remove Propose removal of container. Command is │
│ irreversible │
│ pause Pause a container. │
│ resume Resume a container. │
│ configuration Propose configurations for given container │
│ subnode-jar-extension Propose assigning subnode JAR extension to a │
│ container │
╰─────────────────────────────────────────────────────────────────────────────╯
The container command (pmc container) consists of sub-commands to interact with containers. For example, list existing
containers, create new containers, or remove containers.
container add
Usage: pmc container add [OPTIONS]
Propose a new container in an existing cluster
This also gives authority to deployer voter set to deploy blockchains in it.
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │
│ --key-id=KEY_ID Key ID of the keypair to use │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Signers, leave out this option to send transaction directly ───────────────╮
│ --signer=VALUE Public keys of signer (can be repeated) │
│ --signers=VALUE Comma separated list of keys of signers │
│ --signers-file=PATH Path to file containing public keys of signers, one │
│ per line │
╰─────────────────────────────────────────────── ──────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --timeb-at=VALUE Add timeb operation to make transaction fail │
│ if applied after the given time (UTC). │
│ Supported formats: yyyy-MM-dd HH:mm, │
│ yyyy-MM-dd'T'HH:mm and milliseconds since 1970│
│ (unix/epoch time) │
│ --timeb-after=VALUE Add timeb operation to make transaction fail │
│ if applied after the given number of seconds │
│ from now. │
│ --save-tx Always save transaction to file, even if it is│
│ fully signed │
│ --target=PATH Path where transaction file should be saved │
│ (default: /opt/chromaway/postchain) │
│ -n, --name=TEXT Container name │
│ -a, --auto-generate-name Set if container name should be autogenerated │
│ (suppressed by -n) │
│* -c, --cluster=TEXT Name of cluster to put container in. Must │
│ exist in database │
│ --consensus-threshold=INT Consensus threshold: majority (-1), super │
│ majority (0, default) or custom │
│ (1..deployers.size) (default: 0) │
│ --voter-set=VALUE Name of voter set │
│ --pubkeys=VALUE Comma delimited list of public keys │
│ -cou, --container-units=INT Container Units (minimum 1) (default: 1) │
│ -mb, --max-blockchains=INT Max number of blockchains per container │
│ (default: 10) │
│ -es, --extra-storage=INT Extra Storage (MiB) (default: 0) │
│ -sin, --subnode-image-name=TEXT │
│ Subnode image name │
│ -sje, --subnode-jar-extension-names=TEXT │
│ Comma separated list of subnode JAR extension │
│ names (default: []) │
│ --description=TEXT Proposal description │
│ -d, --direct / -p, --proposal │
│ Create directly without proposal │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The add command (pmc container add) adds a container to an existing cluster. When creating a new container, a voter
set is bound to the container, and members of the voter set get the authority to deploy blockchains. The voter set can
either be an existing voter set or given by a comma-delimited list of public keys.
The consensus flag must be added if voting is applied to the container.
Example usage:
pmc container add --name <container-name> --cluster <cluster-name> --voter-set <name-of-voter-set>
pmc container add --auto-generated-name --cluster <cluster-name> --pubkeys <pubkey1>, <pubkey2>
container info
Usage: pmc container info [OPTIONS]
Get information about a container
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│* -n, --name=TEXT Container Name │
│ -ru, --resource-usage Display container resource usage per node │
│ -h, --help Show this message and exit │
╰─────────────────────────────────────────────────────────────────────────────╯
The info command (pmc container info) retrieves information about a specific container identified by its name.
container limits
Usage: pmc container limits [OPTIONS]
Propose new resource limits for given container
There are multiple types of limits. Proposal can contain all types of limits
or a subset of them.
╭─ Configuration Properties ──────────────────────────────────────────────────╮
│ -cfg, --config=CONFIG Alternate path for client configuration file │
│ -s, --settings=SETTINGS Alternate path for project settings file │
│ --lookup-brid Ignore any 'brid' property in configuration file, │
│ always perform lookup │
│ --lookup-nodes / --no-lookup-nodes │
│ Lookup system cluster signer nodes for sending │
│ transactions to (default: yes) │
│ --network=TEXT Target network to make requests to (if chromia.yml│
│ is configured) │
│ --secret=PATH Path to secret file (pubkey/privkey) │