Fabric8 Documentation


The maven fabric8:build goal pushes the docker image generated via mvn docker:build to either the global docker registry or a local docker registry.

To create a container on Kubernetes you need to create a docker image. To enable the creation of a docker image use a maven plugin such as the docker-maven-plugin

Then to build the docker image locally its

mvn install docker:build


See the reference docs for docker:build