I\'ve been running a flask application with a celery worker and redis in three separated docker containers without any issue.
This is how I start it:
cele
The problem was that the my celery container downloaded a new release of the redis package with pip at build time, eventually with a bug or a serious change that crashes when celery tries to use it when connecting to redis. This new redis library is the 3.0.0 and it was released today.
To fix the issue you have to specify the previous version in the requirements.txt (which is 2.10.6).
And actually, specifying package versions in the requirements.txt is a good practice that prevents this type of problems.