Pre-provisioned image from local docker

Wait a minute I just noticed something in your logs you have this line: Connecting to Docker Daemon at "tcp://172.17.0.3:22376". Normally TorizonCore Builder is configured to use the host network, in this case the address in this line should be 127.0.0.1 for localhost network.

In the case TorizonCore Builder isn’t running on the host network it will use an address like the one seen in your logs. By default TorizonCore Builder should use this host network. Are you configuring TorizonCore Builder to not use the host network? Or are you running TorizonCore Builder on a Windows machine?

In either case you want to do the following:

  • Push your image to your local registry tagged as <registry IP address>:5000/myimage. So if your registry has the address “172.31.129.225” for example then you want to tag and push your image as 172.31.129.225:5000/myimage
  • Then in your compose file also change the “image:” property to 172.31.129.225:5000/myimage
  • Finally you can run the bundle command with --dind-param="--insecure-registry=172.31.129.225:5000" and it should work.

This is because your TorizonCore Builder appears to not be running on the host network so it needs the exact IP address of the registry container and not just “localhost”.

Best Regards,
Jeremias

1 Like