Docker Community Forums

Share and learn in the Docker community.

Shim reaped and then stream copy error: reading from a closed fifo in while running hello-world

docker run hello-world

DEBU[2021-03-11T14:05:03.446247839+01:00] Calling HEAD /_ping
DEBU[2021-03-11T14:05:03.450463763+01:00] Calling POST /v1.40/containers/create
DEBU[2021-03-11T14:05:03.451388280+01:00] form data: {“AttachStderr”:true,“AttachStdin”:false,“AttachStdout”:true,“Cmd”:null,“Domainname”:"",“Entrypoint”:null,“Env”:,“HostConfig”:{“AutoRemove”:false,“Binds”:null,“BlkioDeviceReadBps”:null,“BlkioDeviceReadIOps”:null,“BlkioDeviceWriteBps”:null,“BlkioDeviceWriteIOps”:null,“BlkioWeight”:0,“BlkioWeightDevice”:,“CapAdd”:null,“CapDrop”:null,“Capabilities”:null,“Cgroup”:"",“CgroupParent”:"",“ConsoleSize”:[0,0],“ContainerIDFile”:"",“CpuCount”:0,“CpuPercent”:0,“CpuPeriod”:0,“CpuQuota”:0,“CpuRealtimePeriod”:0,“CpuRealtimeRuntime”:0,“CpuShares”:0,“CpusetCpus”:"",“CpusetMems”:"",“DeviceCgroupRules”:null,“DeviceRequests”:null,“Devices”:,“Dns”:,“DnsOptions”:,“DnsSearch”:,“ExtraHosts”:null,“GroupAdd”:null,“IOMaximumBandwidth”:0,“IOMaximumIOps”:0,“IpcMode”:"",“Isolation”:"",“KernelMemory”:0,“KernelMemoryTCP”:0,“Links”:null,“LogConfig”:{“Config”:{},“Type”:""},“MaskedPaths”:null,“Memory”:0,“MemoryReservation”:0,“MemorySwap”:0,“MemorySwappiness”:-1,“NanoCpus”:0,“NetworkMode”:“default”,“OomKillDisable”:false,“OomScoreAdj”:0,“PidMode”:"",“PidsLimit”:0,“PortBindings”:{},“Privileged”:false,“PublishAllPorts”:false,“ReadonlyPaths”:null,“ReadonlyRootfs”:false,“RestartPolicy”:{“MaximumRetryCount”:0,“Name”:“no”},“SecurityOpt”:null,“ShmSize”:0,“UTSMode”:"",“Ulimits”:null,“UsernsMode”:"",“VolumeDriver”:"",“VolumesFrom”:null},“Hostname”:"",“Image”:“hello-world”,“Labels”:{},“NetworkingConfig”:{“EndpointsConfig”:{}},“OnBuild”:null,“OpenStdin”:false,“StdinOnce”:false,“Tty”:false,“User”:"",“Volumes”:{},“WorkingDir”:""}
DEBU[2021-03-11T14:05:03.471239810+01:00] container mounted via layerStore: &{/var/lib/docker/overlay2/2d145af3635ede7821d84862e134110c03dc5fbb649d6e35baec8f1db1d1a0eb/merged 0x3fe0ba0 0x3fe0ba0}
DEBU[2021-03-11T14:05:03.478485787+01:00] Calling POST /v1.40/containers/70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10/attach?stderr=1&stdout=1&stream=1
DEBU[2021-03-11T14:05:03.478871767+01:00] attach: stdout: begin
DEBU[2021-03-11T14:05:03.479029035+01:00] attach: stderr: begin
DEBU[2021-03-11T14:05:03.480205072+01:00] Calling POST /v1.40/containers/70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10/wait?condition=next-exit
DEBU[2021-03-11T14:05:03.482363738+01:00] Calling POST /v1.40/containers/70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10/start
DEBU[2021-03-11T14:05:03.488932989+01:00] container mounted via layerStore: &{/var/lib/docker/overlay2/2d145af3635ede7821d84862e134110c03dc5fbb649d6e35baec8f1db1d1a0eb/merged 0x3fe0ba0 0x3fe0ba0}
DEBU[2021-03-11T14:05:03.489870137+01:00] Assigning addresses for endpoint confident_hertz’s interface on network bridge
DEBU[2021-03-11T14:05:03.489958720+01:00] RequestAddress(LocalDefault/172.17.0.0/16, , map)
DEBU[2021-03-11T14:05:03.490046747+01:00] Request address PoolID:172.17.0.0/16 App: ipam/default/data, ID: LocalDefault/172.17.0.0/16, DBIndex: 0x0, Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0, 2046)->(0x1, 1)->end Curr:3 Serial:false PrefAddress:
DEBU[2021-03-11T14:05:03.500132975+01:00] Assigning addresses for endpoint confident_hertz’s interface on network bridge
INFO[2021-03-11T14:05:03.501479075+01:00] /etc/resolv.conf does not exist
INFO[2021-03-11T14:05:03.501570140+01:00] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]
INFO[2021-03-11T14:05:03.501624110+01:00] IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]
DEBU[2021-03-11T14:05:03.504607423+01:00] Programming external connectivity on endpoint confident_hertz (a2078805f35d40f9d92640d6d78a3b1354de922ef1cb61ff0f894829df63ba1f)
DEBU[2021-03-11T14:05:03.505384678+01:00] EnableService 70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10 START
DEBU[2021-03-11T14:05:03.505460788+01:00] EnableService 70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10 DONE
DEBU[2021-03-11T14:05:03.508270229+01:00] bundle dir created bundle=/var/run/docker/containerd/70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10 module=libcontainerd namespace=moby root=/var/lib/docker/overlay2/2d145af3635ede7821d84862e134110c03dc5fbb649d6e35baec8f1db1d1a0eb/merged
DEBU[2021-03-11T14:05:03.848176393+01:00] event published ns=moby topic=/containers/create type=containerd.events.ContainerCreate
INFO[2021-03-11T14:05:03.870388773+01:00] shim containerd-shim started address=“unix:///run/containerd/s/54d9f0d4b6c3a9d97d66f5b7cae61b44243ba329d4a647ad3faa4bdfeb8de75a” debug=true pid=2823
DEBU[2021-03-11T14:05:03.873832391+01:00] garbage collected d=“240.847µs”
time=“2021-03-11T14:05:03+01:00” level=debug msg=“registering ttrpc server”
time=“2021-03-11T14:05:03+01:00” level=debug msg=“serving api on unix socket” socket="[inherited from parent]"
DEBU[2021-03-11T14:05:24.470596779+01:00] sandbox set key processing took 10.226880211s for container 70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10
INFO[2021-03-11T14:05:24.496693171+01:00] shim reaped id=70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10
ERRO[2021-03-11T14:05:24.507752471+01:00] stream copy error: reading from a closed fifo
ERRO[2021-03-11T14:05:24.508137468+01:00] stream copy error: reading from a closed fifo
DEBU[2021-03-11T14:05:24.508399008+01:00] attach: stdout: end
DEBU[2021-03-11T14:05:24.508458018+01:00] attach: stderr: end
DEBU[2021-03-11T14:05:24.511920417+01:00] attach done
DEBU[2021-03-11T14:05:24.526192268+01:00] event published ns=moby topic=/containers/delete type=containerd.events.ContainerDelete
DEBU[2021-03-11T14:05:24.529541656+01:00] Revoking external connectivity on endpoint confident_hertz (a2078805f35d40f9d92640d6d78a3b1354de922ef1cb61ff0f894829df63ba1f)
DEBU[2021-03-11T14:05:24.537411655+01:00] DeleteConntrackEntries purged ipv4:0, ipv6:0
DEBU[2021-03-11T14:05:24.542855247+01:00] garbage collected d=“371.55µs”
DEBU[2021-03-11T14:05:24.717477541+01:00] Releasing addresses for endpoint confident_hertz’s interface on network bridge
DEBU[2021-03-11T14:05:24.717613651+01:00] ReleaseAddress(LocalDefault/172.17.0.0/16, 172.17.0.2)
DEBU[2021-03-11T14:05:24.717704018+01:00] Released address PoolID:LocalDefault/172.17.0.0/16, Address:172.17.0.2 Sequence:App: ipam/default/data, ID: LocalDefault/172.17.0.0/16, DBIndex: 0x0, Bits: 65536, Unselected: 65532, Sequence: (0xe0000000, 1)->(0x0, 2046)->(0x1, 1)->end Curr:3
ERRO[2021-03-11T14:05:24.721935834+01:00] 70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10 cleanup: failed to delete container from containerd: no such container
ERRO[2021-03-11T14:05:24.722083629+01:00] Handler for POST /v1.40/containers/70f3679d680b4f079ce61c7c6e8ab6a1f5b9fb0355754b24e76af22617d34d10/start returned error: OCI runtime create failed: container_linux.go:349: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:109: jailing process inside rootfs caused \“pivot_root invalid argument\”””: unknown
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:109: jailing process inside rootfs caused \“pivot_root invalid argument\”””: unknown.
ERRO[0021] error waiting for container: context canceled

docker info

DEBU[2021-03-11T14:06:56.292985314+01:00] Calling HEAD /_ping
DEBU[2021-03-11T14:06:56.294238909+01:00] Calling GET /v1.40/info
Client:
Debug Mode: false

Server:
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 1
Server Version: 19.03.15
Storage Driver: overlay2
Backing Filesystem: tmpfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan 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: ea765aba0d05254012b0b9e595e995c09186427f
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.8
Operating System: debian 18.04.4
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.827GiB
Name: EAGLE-CEF483654FB2
ID: PGS5:6CQU:SOSH:7UUN:7GJO:FIVN:JN6T:22FJ:NXQD:33DK:6N7S:BLSA
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 27
Goroutines: 41
System Time: 2021-03-11T14:06:56.298821583+01:00
EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
172.16.210.11:5000
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

docker version

DEBU[2021-03-11T14:07:23.481004406+01:00] Calling HEAD /_ping
DEBU[2021-03-11T14:07:23.483757529+01:00] Calling GET /v1.40/version
Client: Docker Engine - Community
Version: 19.03.15
API version: 1.40
Go version: go1.13.15
Git commit: 99e3ed8
Built: Sat Jan 30 03:11:43 2021
OS/Arch: linux/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.15
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 99e3ed8
Built: Sat Jan 30 03:18:13 2021
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.3.9
GitCommit: ea765aba0d05254012b0b9e595e995c09186427f
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683