컨테이너 실행 시 실행되는 명령어
Entrypoint의 Argument, Entrypoint를 명시하지않을 경우 컨테이너 실행 시 실행 될 명령어
(컨테이너 실행 시 bash 대신 sh 실행)
$ docker run --entrypoint sh ubuntu:focal
(컨테이너 실행 시 echo hello world 실행)
$ docker run --entrypoint echo ubuntu:focal hello world
[Docker] 명령어 실행, exec (0) | 2022.04.22 |
---|---|
[Docker] 환경변수 설정 (0) | 2022.04.22 |
[Docker] 기본 명령어 (0) | 2022.04.20 |
macOS에서 kubectl, kustomize, minikube 설치 및 쿠버네티스 클러스터 구성 (0) | 2022.04.19 |
[Docker] macOS에서 docker, docker-compose 설치 (0) | 2022.04.18 |
댓글 영역