Mail archive
alpine-user

[alpine-user] Runing hello-world leads to “stream copy error: reading from a closed fifo” on Alpine Linux (RPI)

From: Александр Б <alexander.bubnov_at_gmail.com>
Date: Sun, 17 Mar 2019 11:30:32 +0300

Hello!
I got “stream copy error: reading from a closed fifo” error message in
/var/log/docker.log when I run simple container hello-world.
I have raspberry pi 2 with Alpine Linux installed on it.
I run docker under root account or with sudo.
sudo docker run hello-world

docker: Error response from daemon: OCI runtime create failed:
container_linux.go:344: starting container process caused
“process_linux.go:297: getting the final child’s pid from pipe caused
“EOF””: unknown.

I run docker-*18.09.1* under stable Alpine Linux release. The same error
happens when I run docker-*18.09.3* version under latest develepment Apline
Linux release (edge).

Here is docker info:

Containers: 3
Running: 0
Paused: 0
Stopped: 3
Images: 1
Server Version: 18.09.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries
splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 6635b4f0c6af3810594d2770f662f34ddc15b40d
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Kernel Version: 4.19.26-0-rpi2
Operating System: Alpine Linux v3.9
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 927.1MiB
Name: tatyana2
ID: 2YDL:LOYA:2XIG:CJZV:WJZ3:EI43:Z5UY:JZVE:DSI7:BYUG:DIWZ:RECZ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support

docker version

Client:
Version: 18.09.1-ce
API version: 1.39
Go version: go1.11.4
Git commit: 4c52b901c6cb019f7552cd93055f9688c6538be4
Built: Fri Jan 11 15:41:50 2019
OS/Arch: linux/arm
Experimental: false

Server:
Engine:
Version: 18.09.1-ce
API version: 1.39 (minimum version 1.12)
Go version: go1.11.4
Git commit: 4c52b901c6cb019f7552cd93055f9688c6538be4
Built: Fri Jan 11 15:40:54 2019
OS/Arch: linux/arm
Experimental: false

a part of log with errors:

time=“2019-03-17T10:46:29.130081557+03:00” level=info msg=“shim
containerd-shim started”
address="/containerd-shim/moby/537fe49280c5f2c3d6f857b33e69026905e114c5d5c745db58ffe1f3f231e008/shim.sock"
debug=false pid=1641
time=“2019-03-17T10:46:29.866022121+03:00” level=info msg=“shim reaped”
id=537fe49280c5f2c3d6f857b33e69026905e114c5d5c745db58ffe1f3f231e008
*> time=“2019-03-17T10:46:29.875501070+03:00” level=error msg="stream copy
error: reading from a closed fifo"*
*> time=“2019-03-17T10:46:29.883295012+03:00” level=error msg="stream copy
error: reading from a closed fifo"*
time=“2019-03-17T10:46:33.519631331+03:00” level=error
msg=“537fe49280c5f2c3d6f857b33e69026905e114c5d5c745db58ffe1f3f231e008
cleanup: failed to delete container from containerd: no such container”
time=“2019-03-17T10:46:33.520243781+03:00” level=error msg=“Handler for
POST
/v1.39/containers/537fe49280c5f2c3d6f857b33e69026905e114c5d5c745db58ffe1f3f231e008/start
returned error: OCI runtime create failed: container_linux.go:344: starting
container process caused “process_linux.go:297: getting the final child’s
pid from pipe caused \“EOF\””: unknown”



---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Sun Mar 17 2019 - 11:30:32 UTC