crnn icon indicating copy to clipboard operation
crnn copied to clipboard

Problem with running docker

Open arunpatala opened this issue 7 years ago • 2 comments

I was building docker image with docker build -t crnn_docker . But I am getting the following error. I checked that the file is not busy using lsof. I am running Ubuntu 16.04


  • echo
  • echo 'Installing TH++'
  • echo
  • cd /tmp/fblualib-build.gMtGOu/thpp/thpp
  • '[' 0 -eq 0 ']'
  • mv /root/thpp_build.sh build.sh
  • chmod +x build.sh
  • ./build.sh ./install_all.sh: ./build.sh: /bin/bash: bad interpreter: Text file busy The command '/bin/sh -c ./install_all.sh' returned a non-zero code: 126

arunpatala avatar Mar 27 '17 05:03 arunpatala

I also faced the same issue but the problem solved after I run the docker build -t crnn_docker . again.

tankienleong avatar Jul 04 '17 04:07 tankienleong

Fixed this issue by adding a synch command here:

cd $dir/thpp/thpp if [ $current -eq 0 ]; then mv /root/thpp_build.sh build.sh chmod +x build.sh fi sync; ./build.sh

khsibr avatar May 18 '18 07:05 khsibr