Hey.
Right, that error message suggests a networking issue between the container (10.212.226.96
) and the host/workstation (10.212.226.1
).
ERROR Get "https://10.212.226.1:8443/1.0": Unable to connect to: 10.212.226.1:8443
Maybe it’s a firewall configuration (I see you mentioned firewall is disabled, but just in case) or some configuration setting when running the lxd init
step?
If you could try to launch another container and test it can access the host, say, run a python web server and try to connect to it; for example:
In the host:
$ python3 -m http.server # <port number, default 8000>
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
In the container:
$ curl 10.212.226.1:8000
If that works it might something with the specific port (8443) or Juju client/process serving that port?
You could also try on a fresh Ubuntu VM, to rule out particular settings in your workstation.
Hope this helps!