docker吧 关注:6,391贴子:6,794
  • 13回复贴,共1

Centos6 下创建的image能在centos7下使用么?

只看楼主收藏回复

load提示error response from daemon: invalid argument


IP属地:北京1楼2016-08-04 16:13回复
    这个不分啊 是不是image有问题


    IP属地:江苏2楼2016-08-05 10:23
    回复
      @戈壁的苏弎
      在新机器跑回报下面这种错,虽然运行后能执行命令。
      sudo docker run -i -t 2f28511c95ad
      2016/08/05 03:03:13 Error resolving syscall name execveat: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name getrandom: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name memfd_create: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name renameat2: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name sched_getattr: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name sched_setattr: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name seccomp: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name breakpoint: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name cacheflush: could not resolve name to syscall - ignoring syscall.
      2016/08/05 03:03:13 Error resolving syscall name set_tls: could not resolve name to syscall - ignoring syscall.
      root@67b16856691f:/# java -version
      这个image在原来的宿主机运行完全没有问题,不会报错。


      IP属地:北京3楼2016-08-05 11:07
      回复
        肯定可以用的啊,只要创建成功了的image到任何地方(只要有Docker)都可以使用的。
        我在Windows8上创建的image到Centos6上也能用!


        IP属地:云南5楼2016-11-25 15:54
        收起回复
          docker.site
          域名
          需要的人拿走


          IP属地:河北6楼2017-08-20 21:21
          回复
            楼主,我也遇到了这个错误,请问你怎么解决的,感谢?


            IP属地:广西来自iPhone客户端7楼2017-09-05 17:08
            收起回复