Unable to run docker images for Eval using Release Train 2.2.1

If you are trying to run the docker images for the evaluation version of Broadleaf using the mirror: evaluation.docker.blcdemo.com to pull down the evaluation docker images, and you run into the following error:

Error response from daemon: failed to resolve reference "repository.broadleafcommerce.com:5001/broadleaf/zookeeper:3.8.4-alpine-3.2.1-jre-21.0.7_6-r1": pull access denied, repository does not exist or may require authorization: authorization failed

There is currently a known issue with the latest docker-compose:generate plugin that doesn’t support the latest 2.2.1-GA, 2.2.1.1-GA, and 2.2.1.2-GA release trains for evaluation purposes.

This will be fixed in a future release, but as a workaround you can follow the steps below to get past this current limitation.

Temporary Workaround

In your downloaded initializr project, navigate to your manifest/pom.xml file and add the following maven properties:

	<properties>
       ...
        <broadleaf.zk.image>evaluation.docker.blcdemo.com/broadleaf/zookeeper:3.8.4-alpine-3.2.1-jre-21.0.7_6-r1</broadleaf.zk.image>
        <broadleaf.kafka.image>evaluation.docker.blcdemo.com/broadleaf/kafka:3.9.1-alpine-3.2.1-jre-21.0.7_6-r1</broadleaf.kafka.image>
	</properties>

Your pom.xml may look something like this:

Save this file, and proceed with the normal evaluation steps

  • ./mvnw clean install flex:generate
  • ./mvnw docker-compose:generate -Dmirror=evaluation.docker.blcdemo.com
  • ./mvnw docker-compose:up -Dmirror=evaluation.docker.blcdemo.com