From c3e666056ff1543422aff45cdef3116053d80a2e Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Thu, 26 Mar 2026 17:23:50 +1000 Subject: [PATCH] docs: add warning about using a consistent context name for x-context --- website/docs/8-compose-file-reference/1-support-matrix.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/docs/8-compose-file-reference/1-support-matrix.md b/website/docs/8-compose-file-reference/1-support-matrix.md index 2c9c449c..946a6050 100644 --- a/website/docs/8-compose-file-reference/1-support-matrix.md +++ b/website/docs/8-compose-file-reference/1-support-matrix.md @@ -113,6 +113,13 @@ services: The `--context` and `--connect` flags take precedence over `x-context`. If you don't specify any of these, the current context from your Uncloud config (`--uncloud-config`) is used. +:::warning + +If you share the Compose file with other users, make sure to use the same context name for the target cluster in your +Uncloud configs. + +::: + ### `x-ports` Expose HTTP/HTTPS service ports via the Caddy reverse proxy, or bind TCP/UDP ports directly to the host: