Lxd: macOS and "LXD installed and running?" error

Created on 9 Nov 2017  路  5Comments  路  Source: lxc/lxd

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?

Most helpful comment

MacOS itself doesn't have the concept of containers in its kernel.

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings