빌드한 Docker 이미지 업로드시 "Container exited with status 127" 에러 메세지가 발생하여 문의 드립니다. **1. 다음과 같은 Dockerfile 을 사용하였으며..** FROM tensorflow/tensorflow:1.13.1-gpu-py3 ENV SRC_DIR /src COPY src $SRC_DIR WORKDIR $SRC_DIR RUN chmod +x ./train.sh ./inference.sh RUN pip install -r requirements.txt **2. 빌드시 다음과 같이 별다른 에러 없이 성공합니다. 만약 train.sh, inference.sh 파일이 없다면 Step 5에서 에러가 뜨겠지만 빌드는 성공합니다.** >docker build --tag test:003 . Sending build context to Docker daemon 11.11GB Step 1/6 : FROM tensorflow/tensorflow:1.13.1-gpu-py3 ---> 20a4b7fa03e7 Step 2/6 : ENV SRC_DIR /src ---> Using cache ---> 6066e28fb674 Step 3/6 : COPY src $SRC_DIR ---> 24ef5ab1671e Step 4/6 : WORKDIR $SRC_DIR ---> Running in b49933307b78 Removing intermediate container b49933307b78 ---> ec2c9016ad74 Step 5/6 : RUN chmod +x ./train.sh ./inference.sh ---> Running in 990d8a0b0f59 Removing intermediate container 990d8a0b0f59 ---> f6b8e32d22c6 Step 6/6 : RUN pip install -r requirements.txt ---> Running in 76a19ad8c794 Collecting pandas (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/74/24/0cdbf8907e1e3bc5a8da03345c23cbed7044330bb8f73bb12e711a640a00/pandas-0.24.2-cp35-cp35m-manylinux1_x86_64.whl (10.0MB) ... ... Successfully built 6275c660b4b0 Successfully tagged test:003 **3. 압축파일 만든 후** >docker save test:003 | gzip > test.tar.gz **4. 해당 파일 업로드후 train.sh, inference.sh 파일을 찾지 못한다고 에러메세지가 나오면서 fail 됩니다.** I1229 20:31:24.798033 7057 exec.cpp:162] Version: 1.5.1 I1229 20:31:24.800921 7061 exec.cpp:236] Executor registered on agent 729e9e4b-da63-44c7-8bec-c4d09c3365b1-S1753 I1229 20:31:24.801403 7059 executor.cpp:121] Registered docker executor on csi-cluster-gpu15.dakao.io I1229 20:31:24.801574 7066 executor.cpp:161] Starting task meditrain2019@gmail.com<@>contest_task<@>3a4e3bdd-022b-4647-acbb-c2562dcf82b4:d884a /bin/sh: 1: ./train.sh: not found /bin/sh: 1: ./inference.sh: not found I1229 20:31:26.907050 7065 executor.cpp:675] Container exited with status 127 I1229 20:31:27.907501 7067 process.cpp:874] Failed to accept socket: future discarded 원인 확인 부탁드리며 추가로 필요한 정보가 있으면 알려주시면 감사하겠습니다. 감사합니다.

Created by meditrain2019
@shin419 감사합니다. 덕분에 해결되었습니다. ^^ 내일 정도에 답변이 올라올줄 알았는데.. 빠른 답변에 감사드립니다. ^^
upload하신 docker image에서 직접 실행해보면 ``` bash: ./train.sh: /bin/bash^M: bad interpreter: No such file or directory ``` 이런 message가 출력됩니다. train.sh, inference.sh를 windows 환경에서 편집하고 바로 copy해서 발생한 문제입니다. unix format으로 변경후 저장하시면 됩니다.

docker 에러: "Container exited with status 127" 문의 page is loading…