A problem reported against my Docker Module 2 course:
This happens on Windows Toolbox (ie anything below Windows 10 Pro) and possibly Mac toolbox as well.
If your Maven build is failing (with the fabric8 plugin) you need to add additional configuration. On the Docker Toolbox command line type
Observe the output: you’re looking for the entries for DOCKER_HOST and DOCKER_CERT_PATH. Add the values you find here into your Maven pom, something like this:
<configuration> <dockerHost>tcp://192.168.99.100:2376</dockerHost> <certPath>C:\Users\Richard\.docker\machine\machines\default</certPath> ...images tag etc here </configuration>
Of course don’t just copy and paste these values – check they match the output of docker-env.