Docker import error:Error: open /tmp/docker-import-123456789/repo/bin/json: no such file or director

Posted xichen

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker import error:Error: open /tmp/docker-import-123456789/repo/bin/json: no such file or director相关的知识,希望对你有一定的参考价值。

??tar cvf image.tar image/

==> cd image/        #路径问题,要进入到这个文件夹里面打包

==> tar cvf image.tar *

check the directory !!
I faced the similar log but finally I found it had included the extra directory!

 

我在github上回答: 

https://github.com/docker/docker/issues/9245

 

以上是关于Docker import error:Error: open /tmp/docker-import-123456789/repo/bin/json: no such file or director的主要内容,如果未能解决你的问题,请参考以下文章

docker import with Docker for Windows using Linux containers no space left on device error with Stor

Import error in Django

swig c++ to python (with numpy): error: use of undeclared identifier 'import_array'

Import Error:cannot import name main解决方案

docker容器启动报错:Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/dd

安装docker报错docker: relocation error: