Snapshot and export LXC containers using LXD socket API (LeXportD).
Note: The LXD socket may be accessible to root
only so it is preferable to run go build
instead of go run
if you do not want to always be inside of GOPATH
.
./lexportd [args...]
Argument | Description | Default |
---|---|---|
-sock |
Path to LXD socket | REQUIRED |
-out |
Location to write exported snapshots | Current working directory |