sh get-docker.shlinux
查看docker版本:docker versiondocker
Client:
Version: 18.06.3-ce
API version: 1.38
Go version: go1.10.3
Git commit: d7080c1
Built: Wed Feb 20 02:27:13 2019
OS/Arch: linux/amd64
Experimental: falsebootstrap
Server:
Engine:
Version: 18.06.3-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: d7080c1
Built: Wed Feb 20 02:25:38 2019
OS/Arch: linux/amd64
Experimental: falseubuntu
而後測試docker是否能夠運行:docker run hello-worldcurl
報錯顯示:測試
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.
ERRO[0000] error waiting for container: context canceleui
查看內核版本:uname -rurl
3.13.0-119-genericspa
報錯緣由:docker版本太高,內核版本太低形成。
解決辦法:下降docker的版本或升級內核版本。ip