커스텀 컨테이너 이미지를 제공하여 Dataflow 파이프라인에서 사용자 코드의 런타임 환경을 맞춤설정할 수 있습니다. 커스텀 컨테이너는 Dataflow Runner v2를 사용하는 파이프라인에서 지원됩니다.
Dataflow는 작업자 VM을 시작할 때 Docker 컨테이너 이미지를 사용하여 작업자에서 컨테이너화된 SDK 프로세스를 시작합니다. 기본적으로 파이프라인은 사전 빌드된 Apache Beam 이미지를 사용합니다.
하지만 Dataflow 작업에 대해 커스텀 컨테이너 이미지를 제공할 수 있습니다.
커스텀 컨테이너 이미지를 지정하면 Dataflow는 지정된 이미지를 가져오는 작업자를 시작합니다.
다음과 같은 이유로 커스텀 컨테이너를 사용할 수 있습니다.
파이프라인 종속 항목을 사전 설치하여 작업자 시작 시간을 단축합니다.
공개 저장소에서 사용할 수 없는 파이프라인 종속 항목을 사전 설치합니다.
공개 저장소에 대한 액세스가 해제되면 파이프라인 종속 항목을 사전 설치합니다. 보안상의 이유로 액세스가 사용 중지될 수 있습니다.
[[["이해하기 쉬움","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-04-21(UTC)"],[[["Dataflow pipelines using Runner v2 support the use of custom container images to customize the runtime environment of user code."],["By default, Dataflow pipelines use prebuilt Apache Beam images, but users can specify their own custom container images for their Dataflow jobs."],["Custom containers allow users to preinstall pipeline dependencies, including those not in public repositories, and to manage dependencies when access to public repositories is restricted."],["Using custom containers also allows you to prestage large files and launch third-party software to customize the execution environment."],["The main use cases of custom containers are to reduce worker start time, customize the environment, and to manage dependencies."]]],[]]