-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Description
Steps to reproduce the issue:
- run any container. e.g. redis
(MoeLove) ➜ docker-ce git:(b274b68) ✗ docker run --rm -d redis
7078a615609d6b63e56837f16c2c866cb8e35fceba69c3ab219bfff118b99134
docker logs -ffollow the container's logs.
(MoeLove) ➜ docker-ce git:(b274b68) ✗ docker logs -f $(docker ps -ql)
1:C 17 May 2019 08:13:58.300 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 17 May 2019 08:13:58.300 # Redis version=5.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 17 May 2019 08:13:58.300 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 17 May 2019 08:13:58.303 * Running mode=standalone, port=6379.
1:M 17 May 2019 08:13:58.303 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 17 May 2019 08:13:58.304 # Server initialized
1:M 17 May 2019 08:13:58.304 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
1:M 17 May 2019 08:13:58.304 * Ready to accept connections
net/http: request canceled (Client.Timeout exceeded while reading body)
(MoeLove) ➜ docker-ce git:(b274b68) ✗ echo $?
1
(MoeLove) ➜ docker-ce git:(b274b68) ✗
Describe the results you received:
net/http: request canceled (Client.Timeout exceeded while reading body)
Describe the results you expected:
follow the logs.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
(MoeLove) ➜ docker-ce git:(b274b68) ✗ docker version
Client: Docker Engine - Community
Version: 0.0.0-20190515050035-b274b68
API version: 1.40
Go version: go1.12.4
Git commit: b274b68
Built: Wed May 15 07:31:14 2019
OS/Arch: linux/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 0.0.0-20190515050035-b274b68
API version: 1.41 (minimum version 1.12)
Go version: go1.12.4
Git commit: b274b68
Built: Wed May 15 07:29:57 2019
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: 1.2.5
GitCommit: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
runc:
Version: 1.0.0-rc7
GitCommit: 69ae5da6afdcaaf38285a10b36f362e41cb298d6
docker-init:
Version: 0.18.0
GitCommit: fec3683
Output of docker info:
(MoeLove) ➜ docker-ce git:(b274b68) ✗ docker info
Client:
Debug Mode: false
Plugins:
app: Docker Application (Docker Inc., v0.8.0-beta2)
buildx: Build with BuildKit (Docker Inc., v0.2.0-28-gcb83df7-tp)
Server:
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 225
Server Version: 0.0.0-20190515050035-b274b68
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: systemd
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: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
runc version: 69ae5da6afdcaaf38285a10b36f362e41cb298d6
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 5.0.11-100.fc28.x86_64
Operating System: Fedora 28 (Workstation Edition)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56GiB
Name: localhost.localdomain
ID: 23f7e031-5e53-4256-83ce-3238ad0d5ccc
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 29
Goroutines: 42
System Time: 2019-05-17T16:18:22.586673499+08:00
EventsListeners: 0
HTTP Proxy: socks5://127.0.0.1:1081/
HTTPS Proxy: socks5://127.0.0.1:1081/
No Proxy: localhost,127.0.0.1,docker.io,yanzhe919.mirror.aliyuncs.com,99nkhzdo.mirror.aliyuncs.com,*.aliyuncs.com,*.mirror.aliyuncs.com,registry.docker-cn.com,hub.c.163.com,hub-auth.c.163.com,harbor-registry.inner.youdao.com,registry.corp.youdao.com
Username: taobeier
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.1:5000
127.0.0.0/8
Live Restore Enabled: true
Additional environment details (AWS, VirtualBox, physical, etc.):
my laptop Fedora 28 / Linux 5.0.11-100.fc28.x86_64
xref: docker/for-linux#669
Metadata
Metadata
Assignees
Labels
No labels