How to fix docker.errors.APIError: 500 Server Error for url in Python | DevErrors