docker-compose up fails with error: ... long stack trace ... AttributeError: 'SocketIO' object has no attribute 'raw' I think the issue is known by upstream: https://github.com/docker/compose/issues/5353 The fix (by upstream) is to depend on docker-py:2.6.1 (instead of 2.6.0). see: https://github.com/docker/compose/commit/c0366b71e9410f228c9839d4d74dd2f36b30b8f9 The portage tree includes docker-py:2.6.0 as latest ATM. Downgrading docker-compose to app-emulation/docker-compose-1.16.1-r1::gentoo did not solve the problem for me.
I confirm updating dev-python/docker-py to 2.6.1 (as it arrived to the tree) fixed the problem (as I expected). docker-py-2.6.0 is not in the tree anymore, docker-compose depends on >=dev-python/docker-py:2.5.1 but I didn't tested docker-compose with it. At least for me on ~amd64 the issue is solved. I suggest closing this issue. Thank you!
upgrading dev-python/docker-py to 2.6.1 fixed the issue.