Skip to content

feat: add more inspect subcommands #338

@miekg

Description

@miekg

All uc subcommands should include inspect to get the raw json - docker solves this by having a rest service implemented on the socket that you can curl, so uc might need to do things slightly different.

% uc volume inspect     
Error: accepts 1 arg(s), received 0

instead of the above, so all volumes in json and make uc volume inspect VOL do what it does now.

% uc volume inspect atomdns_data   
  "MachineID": "212fd73438b53ebfb7dd531da4c6ed41",
  "MachineName": "machine-9q7y",
  "Volume": {
    "CreatedAt": "2026-04-24T11:23:14Z",
    "Driver": "local",
    "Labels": {
      "nl.ru.science.backup": "kopia",
      "uncloud.managed": ""
    },
    "Mountpoint": "/var/lib/docker/volumes/atomdns_data/_data",
    "Name": "atomdns_data",
    "Options": null,
    "Scope": "local"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions