EnglishFrenchSpanish

OnWorks favicon

lxd - Online in the Cloud

Run lxd in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lxd that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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=]

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

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 (zfs or dir, 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

Use lxd online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad