Docker Community Forums

Share and learn in the Docker community.

Can't exec into containers


(Upaludan) #1

After upgrading docker from 17.09.1 to 17.12.0-ce , I’m experiencing that I sometimes can’t exec into some containers.
doing a docker exec -it bash, the command never finish execution and the command prompt never returns. Had to end it with a ctrl ^C

I’m running 23 containers on the same host. I’m able to exec into most of them, but with a few, I’m not. We have never seen this problem with 17.09.1

Only solution seems to be restart the docker service on the host OS. Then when the docker engine is started and spin up the containers, I can exec into the container again

We first noticed this degraded behavior after the new version has been running for about 24 hours.

Does anyone seen anything like this issue ?

Docker version shows
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:11:19 2017
OS/Arch: linux/amd64

Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:09:53 2017
OS/Arch: linux/amd64
Experimental: false

OS is : Ubuntu “16.04.3 LTS (Xenial Xerus)”

Dokcer info:
root@cphprodswarm1-solar:~# docker info
Containers: 34
Running: 29
Paused: 0
Stopped: 5
Images: 24
Server Version: 17.12.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
NodeID: y48ey06o6ljd73e7bkgwhj95t
Is Manager: true
ClusterID: a14z9ew2w1uel5uuyemv35osd
Managers: 1
Nodes: 1
Task History Retention Limit: 5
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 3
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address:
Manager Addresses:
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
Profile: default
Kernel Version: 4.4.0-109-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 64
Total Memory: 125.9GiB
Name: cphprodswarm1-solar
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Experimental: false
Insecure Registries:
Live Restore Enabled: false

WARNING: No swap limit support

Docker exec -it <container> bash completely hangs on any container. Docker version 1.12.0. Help?!