Revert "feat: Add "proxy" profile to share lxd socket from host to a container"

This reverts commit 6feb8ebad2.
This commit is contained in:
xavier committed 2025-10-27 15:05:00 +01:00
1 parent 6feb8ebad2
commit 01b95ebe08
2 files changed
+18 -9

No files matched your search

@@ -0,0 +1,18 @@
name: lxd-host-socket
description: "Permet à un container d'accéder au démon LXD de l'hôte via le socket Unix"
devices:
lxd-socket:
type: proxy
listen: unix:/var/snap/lxd/common/lxd/unix.socket
connect: unix:/var/snap/lxd/common/lxd/unix.socket
uid: 0
gid: 0
mode: "0660"
config:
cloud-init.vendor-data: |
#cloud-config
package_update: true
packages:
- snapd
runcmd:
- snap install lxd --channel=latest/stable
@@ -1,9 +0,0 @@
name: proxy-lxd-unix
description: Expose the LXD socket as a Unix socket
devices:
docker:
type: proxy
listen: unix:/var/snap/lxd/common/lxd/unix.socket
connect: unix:/var/snap/lxd/common/lxd/unix.socket
uid: 1000
gid: 1000