반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- or some instances in your deployment group are experiencing problems.
- chartjs
- Airflow
- Spring
- aws
- chart.js
- PostgreSQL
- codebuild
- aws cicd
- IntelliJ
- docker
- SQL
- kubeflow
- Python
- VPN
- codedeploy
- Flux
- java bigdecimal
- codedeploy error
- Spring Error
- redis
- Jenkins
- codepipeline
- 도커
- AWS CI/CD 구축하기
- COALESCE
- bootstrap
- Kafka
- JavaScript
- node
Archives
- Today
- Total
Small Asteroid Blog
OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"/home/share/dags\": permission denied": unknown 본문
클라우드 및 인프라/Linux
OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"/home/share/dags\": permission denied": unknown
작은소행성☄️ 2021. 7. 7. 17:09728x90
외부에서 도커 컨테이너에 바로 명령어를 주다가 에러가 생겼다.
내가 요청한 명령어는 다음과 같고
docker exec 컨테이너이름 sh -c "cd /home/share/dags; ls"
위 명렁어에 -i 를 추가하면 다음과 같은 오류가 나오지 않는다
docker exec -i 컨테이너이름 sh -c "cd /home/share/dags; ls"
다음과 같은 오류가 생기는 것은 cd는 내장 된 셸 명령이므로 실행할 명령으로 설정할 수 없기에 출력내용을 보고 싶으면 -i 를 추가해주어야 한다.
https://stackoverflow.com/questions/28037802/docker-exec-failed-cd-executable-file-not-found-in-path
728x90
반응형
'클라우드 및 인프라 > Linux' 카테고리의 다른 글
touch (0) | 2021.08.12 |
---|---|
리눅스 cp: omitting directory 에러 해결 (0) | 2021.08.12 |
airflow command (0) | 2021.07.02 |
bash: netstat: command not found (0) | 2021.06.30 |
[linux] root 권한 부여하기 (0) | 2021.06.28 |