LXD(1)

NAME
lxd - The container hypervisor - daemon

SYNOPSIS
lxd [command] [options]

DESCRIPTION

  Commands:

    activateifneeded

    Check if LXD should be started (at boot) and if so, spawns it through socket activation

    daemon [--group=lxd] (default command)

    Start the main LXD daemon

    init [--auto] [--network-address=IP] [--network-port=8443] [--storage-backend=dir]

    [--storage-create-device=DEVICE] [--storage-create-loop=SIZE] [--storage-pool=POOL] [--trust-password=] [--preseed]

    Setup storage and networking

    ready

    Tells LXD that any setup-mode configuration has been done and that it can start containers.

    shutdown [--timeout=60]

    Perform a clean shutdown of LXD and all running containers

    waitready [--timeout=15]

    Wait until LXD is ready to handle requests

    import <container name> [--force]

    Import a pre-existing container from storage

  Common options:

--debug

    Enable debug mode

--help

    Print this help message

--logfile FILE

    Logfile to log to (e.g., /var/log/lxd/lxd.log)

--syslog

    Enable syslog logging

--verbose

    Enable verbose mode

--version

    Print LXD's version number and exit

  Daemon options:

--group GROUP

    Group which owns the shared socket

  Daemon debug options:

--cpuprofile FILE

    Enable cpu profiling into the specified file

--memprofile FILE

    Enable memory profiling into the specified file

--print-goroutines-every SECONDS

    For debugging, print a complete stack trace every n seconds

  Init options:

--auto

    Automatic (non-interactive) mode

  Init options for non-interactive mode (--auto):

--network-address ADDRESS

    Address to bind LXD to (default: none)

--network-port PORT

    Port to bind LXD to (default: 8443)

--storage-backend NAME

    Storage backend to use (btrfs, dir, lvm or zfs, default: dir)

--storage-create-device DEVICE

    Setup device based storage using DEVICE

--storage-create-loop SIZE

    Setup loop based storage with SIZE in GB

--storage-pool NAME

    Storage pool to use or create

--trust-password PASSWORD

    Password required to add new clients

  Shutdown options:

--timeout SECONDS

    How long to wait before failing

  Waitready options:

--timeout SECONDS

    How long to wait before failing

  Internal commands (don't call these directly):

    forkexec

    Execute a command in a container

    forkgetnet

    Get container network information

    forkgetfile

    Grab a file from a running container

    forkmigrate

    Restore a container after migration

    forkputfile

    Push a file to a running container

    forkstart

    Start a container

    callhook

    Call a container hook

    migratedumpsuccess

    Indicate that a migration dump was successful

    netcat

    Mirror a unix socket to stdin/stdout