gdcloud artifacts oci build-from-tar - Tar 파일을 OCI 아티팩트로 패키징
개요
gdcloud artifacts oci build-from-tar SRC DEST [flags]
선택적 플래그
--index-annotations stringToString Add annotations to index in OCI image (default [])
--layer-annotations stringToString Add annotations to image layer in OCI image (default [])
--layer-media-type string Layer media type (default "application/vnd.oci.image.layer.v1.tar+gzip")
--manifest-annotations stringToString Add annotations to image manifest in OCI image (default [])
--manifest-config-media-type string Manifest config media type (default "application/vnd.gpc.tar-file.config.v1alpha1+json")
--version string Version of tar file (default "1.0.0")
GDCLOUD 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003e\u003ccode\u003egdcloud artifacts oci build-from-tar\u003c/code\u003e command packages a Tar file into an OCI (Open Container Initiative) artifact.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the source (\u003ccode\u003eSRC\u003c/code\u003e) and destination (\u003ccode\u003eDEST\u003c/code\u003e) for creating the OCI artifact using this command.\u003c/p\u003e\n"],["\u003cp\u003eSeveral optional flags allow for customization, such as adding annotations to the index, layer, and manifest.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure the layer media type and manifest config media type during the creation process, with defaults provided.\u003c/p\u003e\n"],["\u003cp\u003eGlobal flags like \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e are accessible with this command, as they are with all \u003ccode\u003egdcloud\u003c/code\u003e commands.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts oci build-from-tar\n\nNAME\n----\n\ngdcloud artifacts oci build-from-tar - Package a Tar file into an OCI artifact\n\nSYNOPSIS\n--------\n\n gdcloud artifacts oci build-from-tar SRC DEST [flags]\n\n### OPTIONAL FLAGS\n\n --index-annotations stringToString Add annotations to index in OCI image (default [])\n --layer-annotations stringToString Add annotations to image layer in OCI image (default [])\n --layer-media-type string Layer media type (default \"application/vnd.oci.image.layer.v1.tar+gzip\")\n --manifest-annotations stringToString Add annotations to image manifest in OCI image (default [])\n --manifest-config-media-type string Manifest config media type (default \"application/vnd.gpc.tar-file.config.v1alpha1+json\")\n --version string Version of tar file (default \"1.0.0\")\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]