docker installation implementation

Installation docker issues ubuntu14.04:
sudo apt-get update
curl -fsSL https://get.docker.com -o get-docker.sh

sh get-docker.sh

View version docker: docker Version

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: false

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: false

Then you can run to test whether docker: docker RUN the Hello-world

Error display:

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 cancele

Check kernel version: uname -r

3.13.0-119-generic

The reason given: docker version is too high, too low cause kernel version.
Solution: reduce or upgrade version of the kernel version docker.

Guess you like

Origin www.cnblogs.com/forward-wang/p/10937000.html