# Configure the Space "my-space"
kf configure-space set-container-registry my-space gcr.io/my-project
# Configure the targeted Space
kf configure-space set-container-registry gcr.io/my-project
Flag
--async
Jangan menunggu tindakan selesai di server sebelum kembali.
-h, --help
bantuan untuk set-container-registry
Flag yang diwarisi
Flag ini diwarisi dari perintah induk.
--as=string
Nama pengguna yang akan disamarkan untuk operasi.
--as-group=strings
Grup yang akan disamarkan untuk operasi. Sertakan flag ini beberapa kali untuk menentukan beberapa grup.
--config=string
Jalur ke file konfigurasi Kf yang akan digunakan untuk permintaan CLI.
--kubeconfig=string
Jalur ke file kubeconfig yang akan digunakan untuk permintaan CLI.
--log-http
Mencatat permintaan HTTP ke error standar.
--space=string
Ruang untuk menjalankan perintah. Flag ini menggantikan Ruang yang saat ini ditargetkan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# kf configure-space set-container-registry\n\n### Name\n\n`kf configure-space set-container-registry` - Set the container registry used for Builds.\n\n### Synopsis\n\n```\nkf configure-space set-container-registry [SPACE_NAME] REGISTRY [flags]\n```\n\n### Examples\n\n```\n# Configure the Space \"my-space\"\nkf configure-space set-container-registry my-space gcr.io/my-project\n# Configure the targeted Space\nkf configure-space set-container-registry gcr.io/my-project\n```\n\n### Flags\n\n`--async`\n\n: Do not wait for the action to complete on the server before returning.\n\n`-h, --help`\n\n: help for set-container-registry\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]