5
回答
docker加载容器失败问题
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   
在centos上安装了docker,已经下载镜像docker pull docker 。执行docker run -t -I centos /bin/bash 报错如下:2014/07/31 16:36:21 POST /v1.12/containers/create [44ce9a2a] +job create() [44ce9a2a] -job create() = OK (0) 2014/07/31 16:36:21 POST /v1.12/containers/71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03/attach?stderr=1&stdin=1&stdout=1&stream=1 [44ce9a2a] +job container_inspect(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) [44ce9a2a] -job container_inspect(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) = OK (0) [44ce9a2a] +job attach(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) 2014/07/31 16:36:21 POST /v1.12/containers/71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03/start [44ce9a2a] +job start(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) [44ce9a2a] +job allocate_interface(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) [44ce9a2a] -job allocate_interface(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) = OK (0) [error] container.go:435 Error running container: mkdir /sys/fs/devices: no such file or directory [44ce9a2a] +job release_interface(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) [44ce9a2a] -job release_interface(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) = OK (0) [error] container.go:492 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: Error closing terminal: invalid argument [44ce9a2a] -job attach(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) = OK (0) [44ce9a2a] +job release_interface(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) [44ce9a2a] -job release_interface(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) = OK (0) [error] container.go:492 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: Error closing terminal: invalid argument [error] driver.go:140 Warning: error unmounting device 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: UnmountDevice: device not-mounted id 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03 Cannot start container 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: mkdir /sys/fs/devices: no such file or directory [44ce9a2a] -job start(71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03) = ERR (1) [error] server.go:1025 Error: Cannot start container 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: mkdir /sys/fs/devices: no such file or directory [error] server.go:90 HTTP Error: statusCode=500 Cannot start container 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: mkdir /sys/fs/devices: no such file or directory 2014/07/31 16:36:21 Error: Cannot start container 71854467dc0f87a884814397accc3b32bd44eb0ccac546cd4200a663d290ce03: mkdir /sys/fs/devices: no such file or directory 各位大神,这会是啥原因。
举报
ZHF123
发帖于3年前 5回/8K+阅
顶部