Docker Community Forums

Share and learn in the Docker community.

Error stoping containers with docker compose


(Claudio Figueiredo) #1

Expected behavior

clean stop containers with no error message

Actual behavior

weird stacktrace output


  • the output of:
    • ctrl + c on OSX with a foreground running docker-compose up

Traceback (most recent call last):
File “/Users/claudio/.pyenv/versions/2.7.10/lib/python2.7/”, line 810, in __bootstrap_inner
File “/Users/claudio/.pyenv/versions/2.7.10/lib/python2.7/”, line 763, in run
self.__target(*self.__args, **self.__kwargs)
File “/Users/claudio/.virtualenvs/SOMEVENV/lib/python2.7/site-packages/compose/cli/”, line 190, in watch_events
for event in event_stream:
File “/Users/claudio/.virtualenvs/SOMEVENV/lib/python2.7/site-packages/compose/”, line 343, in events
File “/Users/claudio/.virtualenvs/SOMEVENV/lib/python2.7/site-packages/docker/”, line 233, in _stream_helper
data = json.loads(data)
File “/Users/claudio/.pyenv/versions/2.7.10/lib/python2.7/json/”, line 338, in loads

  • host distribution and version ( OSX 10.10.5, Version 1.11.1-beta13.1 (build: 8193))

Steps to reproduce the behavior

  1. ctrl + c a running docker-compose