Today the IPs are different, because my PC has several ethernet interfaces, as shown here
WARNING: Some service image(s) must be built from source by running:
docker compose build %s node-backend-debug
Error response from daemon: Get "http://10.10.10.79:5002/v2/": dial tcp 10.10.10.79:5002: connect: connection refused
The content of /etc/docker/daemon.json
is
{
"insecure-registries" : ["10.10.10.79:5002"]
}
But the problem I can see is that 10.10.10.79 is one of the IPs of my development machine, but the corresponding ethernet adapter is NOT connected to Verdin.
Today Verdin is connected through DHCP-assigned IP (that today is 10.1.2.50
) with mask 255.255.0.0
For this reason I did the folowing changes:
- in
setings.json
of the node.js project on my development machine I changed “host_ip”: “10.10.10.79” to “host_ip”: “10.1.2.50” - on the Verdin I changed the content of
/etc/docker/daemon.json
to
{
"insecure-registries" : ["10.1.2.50:5002"]
}
Now the error is a little bit different
Error response from daemon: Get "https://10.1.2.50:5002/v2/": http: server gave HTTP response to HTTPS client
* The terminal process "sshpass '-p', 'cemb', 'ssh', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', 'torizon@10.1.3.66', 'LOCAL_REGISTRY=10.1.2.50 TAG=arm64 docker-compose pull node-backend-debug'" terminated with exit code: 18.
I hope that this helps