To allow for easier management of LXD containers on remote hosts, those remote hosts can be added to the local workstation.
$ lxc config set core.https_address "[::]"
$ lxc config set core.trust_password (some-password)
$ lxc remote add (some-name) <IP>
$ lxc list starbug:
+-----------+---------+----------------------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+-----------+---------+----------------------+------+-----------+-----------+
| delans | RUNNING | 192.168.x.xx (eth0) | | CONTAINER | 0 |
+-----------+---------+----------------------+------+-----------+-----------+
| lxdmosaic | RUNNING | 192.168.x.xx (eth0) | | CONTAINER | 0 |
+-----------+---------+----------------------+------+-----------+-----------+
| nbtwiki | RUNNING | 192.168.x.xxx (eth0) | | CONTAINER | 0 |
+-----------+---------+----------------------+------+-----------+-----------+
| pihole1 | RUNNING | 192.168.x.xx (eth0) | | CONTAINER | 0 |
+-----------+---------+----------------------+------+-----------+-----------+
$ lxc exec starbug:delans bash
[email protected]:~#
....................
(created: 2021-06-10, last modified: 2021-08-31 at 22:37:42)