??? 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?? ??? ????? ???.
Drop files to upload
Your web browser must have JavaScript enabled in order for this application to display correctly.
If you are an automated web crawler from a search engine, follow this
AJAX application crawl link
docker ??: "Container exited with status 127" ??
page is loading…