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

技术共进,成长同行——讯飞AI开发者社区

更多推荐