Share and learn in the Docker community.
I recieved this error as well, and it seems to be related to the post here
One workaround is to connect to a hostname of ‘docker’ instead of ‘localhost’