docs: render CLI reference

This commit is contained in:
Pasha Sviderski
2025-11-20 08:06:26 +10:00
parent 939645e144
commit 9ddcbd6de0
@@ -5,7 +5,7 @@ Upload a local Docker image to the cluster.
## Synopsis ## Synopsis
Upload a local Docker image to the cluster transferring only the missing layers. Upload a local Docker image to the cluster transferring only the missing layers.
The image is uploaded to the machine which CLI is connected to (default) or the specified machine(s). The image is uploaded to all cluster machines (default) or the specified machine(s).
``` ```
uc image push IMAGE [flags] uc image push IMAGE [flags]
@@ -14,7 +14,7 @@ uc image push IMAGE [flags]
## Examples ## Examples
``` ```
# Push image to the machine the CLI is connected to. # Push image to all machines in the cluster.
uc image push myapp:latest uc image push myapp:latest
# Push image to specific machine. # Push image to specific machine.
@@ -23,9 +23,6 @@ uc image push IMAGE [flags]
# Push image to multiple machines. # Push image to multiple machines.
uc image push myapp:latest -m machine1,machine2,machine3 uc image push myapp:latest -m machine1,machine2,machine3
# Push image to all machines in the cluster.
uc image push myapp:latest -m all
# Push a specific platform of a multi-platform image. # Push a specific platform of a multi-platform image.
uc image push myapp:latest --platform linux/amd64 uc image push myapp:latest --platform linux/amd64
``` ```