On macOS High Sierra I have installed lxd using brew install lxc. I also installed it from source, just for comparison. But there is no difference. Every time I get the same error: "LXD socket not found; is LXD installed and running?"
$ lxc config show
LXD socket not found; is LXD installed and running?
$ lxc list
LXD socket not found; is LXD installed and running?
That's perfectly normal. The daemon part of LXD can only run on Linux so installing the client on a mac without pointing it to a remote LXD server will fail.
lxc remote add some-name https://<IP>
lxc remote set-default some-name
So I cannot create a new container on macOS? :(
Nope, you can only use the LXD client to talk to a LXD daemon running on a remote Linux server. That can be some server in the cloud or could be a Linux VM on your mac.
MacOS itself doesn't have the concept of containers in its kernel.
OK. Thanks for the explanation.
Most helpful comment
MacOS itself doesn't have the concept of containers in its kernel.