Open scubamuc opened 3 weeks ago
@turtle0x1, searching for docs explaining socket path /var/snap/lxd/common/lxd/unix.socket
is not available. there is obviously no "discover" function, so the path obviously needs to be entered manually? I'v tried <host.ip>://var/snap/lxd/common/lxd/unix.socket
and host.ip/var/snap/lxd/common/lxd/unix.socket
etc. this is unclear. how to connect to remote host?
Remote host via socket is not something I personally know how todo, when first running LXDMosaic installed via SNAP edge it correctly discovers the local host because we have the LXD plug (see below screenshot), I think your seeing the same containers because its the same host (this is what "socket" was tested with / designed for).
I would need some example commands to create a local socket to a remote host to test this
@turtle0x1
Remote host via socket is not something I personally know how todo
neither do I, never saw this before or tried it before 😯
I'd agree,
it was noise
unless some other user knows how this works?
This is the only information I could find... https://documentation.ubuntu.com/lxd/en/latest/dev-lxd/
AI says its possible with Nginx but I dont think thats what your really looking for, I think the snap is working as expected? :)
yeah, I agree!
@turtle0x1, I've found this https://snapcraft.io/docs/lxd-interface is most probably the reason for missing socket connection.
I dont think so/ it shouldn't be LXDMosaic should get the socket automagically
@turtle0x1
testing snap socket connection:
check container IP's, are identical..... LXD0 is not connecting to LXD1 but adding a second "localhost" with a different "alias" instead of the remote.
I'm assuming something missing in the setup request since I cannot specify the remote IP or host name... unless this should be added in the socket path, which would be unclear.