Expected behavior
Graceful shutdown of compose app with no errors thrown by compose
Actual behavior
Following errors thrown during graceful shutdown before the app finishes:
Exception in thread Thread-5:
Traceback (most recent call last):
File “threading.py”, line 810, in __bootstrap_inner
File “threading.py”, line 763, in run
File “compose/cli/log_printer.py”, line 190, in watch_events
File “compose/project.py”, line 343, in events
File “site-packages/docker/client.py”, line 233, in _stream_helper
File “json/init.py”, line 338, in loads
File “json/decoder.py”, line 369, in decode
The app does actually gracefully shut down
Information
docker-compose version 1.7.1, build 0a9ab35
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.1-beta11
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160515-205557.tar.gz
Most specific failure is: No error was detected
Your unique id is: 8A4794CC-7BED-46B9-A069-DD14D8FFE106
Please quote this in all correspondence.
A reproducible docker-compose.yml can be cloned from https://github.com/webunitydesign/docker-compose-node
Steps to reproduce the behavior
- Clone the above repo and cd into it
- Run docker-compose up and let the app start
- CTRL+C to stop - Occasionally will trigger an error may need to repeat process once or twice