This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.30.2. 기본 사용량
원격 컨테이너 명령 실행에 대한 지원은 CLI에 빌드됩니다.
oc exec <pod> [-c <container>] <command> [<arg_1> ... <arg_n>]
$ oc exec <pod> [-c <container>] <command> [<arg_1> ... <arg_n>]
예를 들어 다음과 같습니다.
oc exec mypod date
$ oc exec mypod date
Thu Apr 9 02:21:53 UTC 2015