docker run 总是失败并显示“没有这样的文件或目录”

docker run 总是失败并显示“没有这样的文件或目录”

每次我尝试使用 docker 运行容器时,都会收到以下错误:

# docker run hello-world
Error response from daemon: Cannot start container e55ff9914b3a671d63158adce03379b8d2baef0f32f23c3b47344c6edddedc05: no such file or directory

我尝试在启用调试的情况下获取在控制台中运行守护程序的更多信息:

# docker -dD &
[1] 6307
DEBU[0000] Registering POST, /build                     
DEBU[0000] Registering POST, /images/load
...
INFO[0000] Daemon has completed initialization          
INFO[0000] Docker daemon                                 commit=786b29d/1.7.1 execdriver=native-0.2 graphdriver=devicemapper version=1.7.1
# docker run hello-world
DEBU[0007] Calling POST /containers/create              
INFO[0007] POST /v1.19/containers/create                
DEBU[0007] [deviceset] AddDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init basehash=975b84d108f1024953937167506c2935a081c8c55ae9e9f7b7deee118605367f) 
DEBU[0007] registerDevice(16, 08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [deviceset] AddDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init basehash=975b84d108f1024953937167506c2935a081c8c55ae9e9f7b7deee118605367f) END 
DEBU[0007] activateDeviceIfNeeded(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [deviceset] AddDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc basehash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] registerDevice(17, 08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [deviceset] AddDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc basehash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) END 
DEBU[0007] [devmapper] UnmountDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [devmapper] Unmount(/var/lib/docker/devicemapper/mnt/08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [devmapper] Unmount done                     
DEBU[0007] [devmapper] deactivateDevice(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [devmapper] removeDevice START(docker-253:5-918236-08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [devmapper] removeDevice END(docker-253:5-918236-08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [devmapper] deactivateDevice END(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) 
DEBU[0007] [devmapper] UnmountDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc-init) END 
DEBU[0007] activateDeviceIfNeeded(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] UnmountDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] Unmount(/var/lib/docker/devicemapper/mnt/08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] Unmount done                     
DEBU[0007] [devmapper] deactivateDevice(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] removeDevice START(docker-253:5-918236-08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] removeDevice END(docker-253:5-918236-08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] deactivateDevice END(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0007] [devmapper] UnmountDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) END 
DEBU[0007] Calling POST /containers/{name:.*}/attach    
INFO[0007] POST /v1.19/containers/08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc/attach?stderr=1&stdout=1&stream=1 
DEBU[0007] attach: stdout: begin                        
DEBU[0007] attach: stderr: begin                        
DEBU[0007] Calling POST /containers/{name:.*}/start     
INFO[0007] POST /v1.19/containers/08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc/start 
DEBU[0007] activateDeviceIfNeeded(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
ERRO[0007] leaving endpoint failed: a container has already joined the endpoint 
DEBU[0008] [devmapper] UnmountDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0008] [devmapper] Unmount(/var/lib/docker/devicemapper/mnt/08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0008] [devmapper] Unmount done                     
DEBU[0008] [devmapper] deactivateDevice(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0008] [devmapper] removeDevice START(docker-253:5-918236-08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0008] [devmapper] removeDevice END(docker-253:5-918236-08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0008] [devmapper] deactivateDevice END(08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) 
DEBU[0008] [devmapper] UnmountDevice(hash=08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc) END 
ERRO[0008] Handler for POST /containers/{name:.*}/start returned error: Cannot start container 08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc: no such file or directory 
ERRO[0008] HTTP Error                                    err=Cannot start container 08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc: no such file or directory statusCode=404
Error response from daemon: Cannot start container 08eedfc4de5340a55498a136a667a1ed73f1fae75cbb1fac8469e703926a19fc: no such file or directory

但我仍然找不到有关该问题的线索。

我可以调查什么来找出如何解决这个问题吗?

编辑:

附加信息:

# docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d/1.7.1
OS/Arch (client): linux/amd64                         
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d/1.7.1
OS/Arch (server): linux/amd64
# docker ps -a        
CONTAINER ID        IMAGE               COMMAND                 CREATED             STATUS              PORTS               NAMES
08eedfc4de53        hello-world         "/hello"            43 minutes ago                                              serene_sammet    

相关内容