I am trying to directly build a docker image with maven with mvn package docker:build.
mvn package docker:build
Docker is running and docker ps shows me my containers,
docker ps
update maven docker plugin to latest version 1.2.0. This solves the problem.