Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

🔌 Better socket validation

Choose a tag to compare

@benjamincburns benjamincburns released this 03 Apr 19:58
· 24 commits to master since this release
5c5b03d

We attempted to map the unix socket from LXD's snap package install location (/var/snap/lxd/common/lxd/unix.socket) into a docker container. However the hose had its LXD socket in the default install location (/var/lib/lxd/unix.socket). Docker "helpfully" created an empty directory where we thought the socket should've been and mapped it into the container. Much table flipping ensued as we tried to figure out why we couldn't connect to the LXD daemon.

Highlights

  • Throws an error in local mode if the LXD socket file isn't in fact a unix socket.