docker run hello-world

出现一下问题,

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348:
starting container process caused "process_linux.go:297:copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.

看了一下docker --version

再看一下系统版本:

CentOS Linux release 7.2.1511 (Core)

感觉是操作系统版本过低了,换一个低版本试一试

换到以下版本,

Client:
 Version:       17.12.1-ce
 API version:   1.35
 Go version:    go1.9.4
 Git commit:    7390fc6
 Built: Tue Feb 27 22:15:20 2018
 OS/Arch:       linux/amd64

就可以了!!!
 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐