기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
Devfile 구성 요소
현재 CodeCatalyst는 devfile의 container
구성 요소만 지원합니다. 자세한 내용은 Devfile.io 설명서의 구성 요소 추가
다음 예시에서는 devfile의 컨테이너에 시작 명령을 추가하는 방법을 보여줍니다.
components:
- name: test
container:
image: public.ecr.aws/amazonlinux/amazonlinux:2
command: ['sleep', 'infinity']
참고
컨테이너에 짧은 라이브 항목 명령이 있는 경우 컨테이너를 계속 실행하려면 command: ['sleep', 'infinity']
를 포함해야 합니다.
CodeCatalyst는 컨테이너 구성 요소에서 args
, env
, mountSources
, volumeMounts
속성도 지원합니다.