I use test containers to start services for integration testing. I have been unable to make that work directly with docker4mac for now. This forces me to keep docker-machine around until the issue is resolved.
I reported the compatibility issues with the corresponding projects:
The crux of the issue occurs with docker-java :
It seems that implementing
docker exec requires a tcp level feature (
tcp upgrade procedure) which is not available in jersey/jaxrs and therefore requires netty. Unfortunately netty doesn’t support unix sockets on OS X and the issue has a pretty low priority for the netty project.
the docker-java maintainer asks me if there is any way to talk to docker4mac over https, and I have absolutely no idea Can someone from docker pitch in in the discussion at https://github.com/docker-java/docker-java/issues/537 ?