--rm -t ann-benchmarks -f install/..._raise calledprocesserror(retcode, cmd)">
当前位置:   article > 正文

docker出错raise CalledProcessError(retcode, cmd)

raise calledprocesserror(retcode, cmd)
  1. python install.py
  2. Building base image...
  3. 'docker' 不是内部或外部命令,也不是可运行的程序
  4. 或批处理文件。
  5. Traceback (most recent call last):
  6. File "install.py", line 42, in <module>
  7. --rm -t ann-benchmarks -f install/Dockerfile .', shell=True)
  8. File "D:\python\lib\subprocess.py", line 311, in check_call
  9. raise CalledProcessError(retcode, cmd)
  10. subprocess.CalledProcessError: Command 'docker build --rm -t ann-benchmarks -f install/Dockerfile .' returned non-zero exit status 1.

这特么啥几把玩意。我以为电脑不行【win】,后来换服务器也不行,同样的错误。woc

  1. $ python3 install.py
  2. Building base image...
  3. /bin/sh: 1: docker: not found
  4. Traceback (most recent call last):
  5. File "install.py", line 42, in <module>
  6. --rm -t ann-benchmarks -f install/Dockerfile .', shell=True)
  7. File "./lib/python3.7/subprocess.py", line 363, in check_
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/506896
推荐阅读
相关标签
  

闽ICP备14008679号