TL;DR: Check your Dockerfile (try to build it manually) before anything else!
Today I was struggling with a 400 error:
Exception caught: Request error: POST https://192.168.99.101:2376/build?t=localhost:5000/eris-django:2.0.1-ivanlla: 400: HTTP 400 Bad Request -> [Help 1]
when