summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2025-06-08 00:12:29 -0500
committerunitexe <unitexe70@gmail.com>2025-06-08 00:12:29 -0500
commit23d9b09c1cb6de7202c372ff364b930d99a8b14f (patch)
treefd9685bf3131915b34fc88a4be700274fc13d9bb
parent32f899b71484ee28ce807f998e507719ecbb3541 (diff)
Add list container image doc to README
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index f365183..564824a 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,26 @@ Replace IP address accordingly.
grpcurl -plaintext -import-path ./proto -proto ormos.proto -d '{"device_path": "/dev/sda1", "mount_point": "/mnt/usb"}' '10.0.0.42:50052' unit.containers.v0.Ormos.MountUsbDevice
```
+### List Container Image Archives
+Replace IP address accordingly.
+```bash
+grpcurl -plaintext -import-path ./proto -proto ormos.proto -d '{"path": "/mnt/usb"}' '10.0.0.42:50052' unit.containers.v0.Ormos.ListImageArchives
+```
+
+Example output:
+```json
+{
+ "imageArchives": [
+ {
+ "filePath": "/mnt/usb/alpine-arm64.tar",
+ "fileSizeBytes": "8468992",
+ "sha256Checksum": "0b070f92dd64e2bfead9f0c494511c9ce486f18900ec8297f374e5000a5f2994"
+ }
+ ]
+}
+
+```
+
### Unmount USB Device
Replace IP address accordingly.
```bash