moby: docker daemon hangs while running docker rmi

Output of docker version:

Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.4
 Git commit:   3cd164c
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.4
 Git commit:   3cd164c
 Built:
 OS/Arch:      linux/amd64

Output of docker info:

Containers: 19
 Running: 19
 Paused: 0
 Stopped: 0
Images: 193
Server Version: 1.10.3
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.6.3-coreos
Operating System: CoreOS 1068.8.0 (MoreOS)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.686 GiB
Name: ****
ID: BIDB:3LUP:QORI:BYRW:FUPI:IW42:SXHR:6ACW:4EUS:AOCY:****:****
Username: *****
Registry: https://index.docker.io/v1/

Additional environment details (AWS, VirtualBox, physical, etc.): Hyper-V, windows server 2012 RC2

Steps to reproduce the issue:

  1. run docker rmi <image id>
  2. at the same time, run docker info or any docker command

Describe the results you received: The docker info command (or any other commands) is blocked by the docker rmi command. I’m running kubernetes cluster and there was no pod can be scheduled ( stuck at Pending) on the VM running my clean-up script (docker rmi <list of image ids>). Same thing in docker 1.11.0. I haven’t tried 1.12 yet.

Describe the results you expected: Should not be blocked

Additional information you deem important (e.g. issue happens only occasionally):

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (11 by maintainers)

Most upvoted comments

@cpuguy83 Sure thanks I will. In fact apparently daemon wasn’t stuck, just took a very long time to delete some images…