1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148 | morphis@monolith:~$ snap list
No snaps are installed yet. Try "snap install hello-world".
morphis@monolith:~$ sudo snap install lxd
[sudo] password for morphis:
2017-10-19T01:35:20-04:00 INFO Waiting for restart...
2017-10-19T01:35:39-04:00 INFO snap "lxd" has bad plugs or slots: lxd (lxd slots are reserved for the core snap)
lxd 2.18 from 'canonical' installed
morphis@monolith:~$ snap version
snap 2.28.1
snapd 2.28.1
series 16
ubuntu 16.04
kernel 4.10.0-37-generic
morphis@monolith:~$ snap interfaces
Slot Plug
:account-control -
:alsa -
:autopilot-introspection -
:avahi-control -
:avahi-observe -
:bluetooth-control -
:bluez -
:broadcom-asic-control -
:browser-support -
:camera -
:classic-support -
:core-support core:core-support-plug
:cups-control -
:dcdbas-control -
:desktop -
:desktop-legacy -
:docker-support -
:firewall-control -
:framebuffer -
:fuse-support -
:greengrass-support -
:gsettings -
:hardware-observe -
:hardware-random-control -
:hardware-random-observe -
:home -
:io-ports-control -
:joystick -
:kernel-module-control -
:kubernetes-support -
:kvm -
:libvirt -
:locale-control -
:log-observe -
:lxd-support lxd
:modem-manager -
:mount-observe -
:netlink-audit -
:netlink-connector -
:network lxd
:network-bind -
:network-control -
:network-manager -
:network-observe -
:network-setup-control -
:network-setup-observe -
:ofono -
:opengl -
:openvswitch -
:openvswitch-support -
:optical-drive -
:password-manager-service -
:physical-memory-control -
:physical-memory-observe -
:ppp -
:process-control -
:pulseaudio -
:raw-usb -
:removable-media -
:screen-inhibit-control -
:shutdown -
:snapd-control -
:system-observe -
:system-trace -
:time-control -
:timeserver-control -
:timezone-control -
:tpm -
:uhid -
:unity7 -
:upower-observe -
:wayland -
:x11 -
morphis@monolith:~$ cd /snap/lxd/
morphis@monolith:/snap/lxd$ ls
4482 current
morphis@monolith:/snap/lxd$ cd current
morphis@monolith:/snap/lxd/current$ ls
bin command-check-kernel.wrapper command-lxc.wrapper command-migrate.wrapper lib lxc meta snap usr
command-benchmark.wrapper command-daemon.wrapper command-lxd.wrapper etc libexec lxcfs share stop-command-daemon.wrapper wrappers
morphis@monolith:/snap/lxd/current$ cat meta/
gui/ hooks/ snap.yaml
morphis@monolith:/snap/lxd/current$ cat meta/snap.yaml
apps:
benchmark:
command: command-benchmark.wrapper
plugs:
- lxd-support
check-kernel:
command: command-check-kernel.wrapper
plugs:
- lxd-support
daemon:
command: command-daemon.wrapper
daemon: simple
plugs:
- lxd-support
reload-command: wrappers/daemon.reload
restart-condition: always
slots:
- lxd
stop-command: stop-command-daemon.wrapper
stop-timeout: 600s
lxc:
aliases:
- lxc
command: command-lxc.wrapper
completer: etc/bash_completion.d/snap.lxd.lxc
plugs:
- lxd-support
lxd:
command: command-lxd.wrapper
plugs:
- lxd-support
migrate:
command: command-migrate.wrapper
plugs:
- lxd-support
architectures:
- amd64
confinement: strict
description: |-
LXD is a container manager for system containers. It offers a REST API to remotely manage containers over the network, using an image based workflow and with support for live migration.
Images are available for all Ubuntu releases and architectures as well as for a wide number of other Linux distributions.
LXD containers are lightweight, secure by default and a great alternative to virtual machines.
grade: stable
hooks:
configure:
plugs:
- network
name: lxd
summary: LXD - the container lightervisor
version: 2.18
|