System.LXC.Container

Data types

data Container

data Snapshot

data BDevSpecs

data ContainerState

parseState

printState

mkContainer

Flags

data CloneOption

data CreateOption

cloneFlag

createFlag

LXC errors

data LXCError

prettyLXCError

Container methods

Query container state.

isDefined

isRunning

state

initPID

getInterfaces

getIPs

getDaemonize

getLastError

Container config

configFileName

getConfigPath

setConfigPath

loadConfig

saveConfig

getKeys

setConfigItem

getConfigItem

getRunningConfigItem

clearConfig

clearConfigItem

Freeze/unfreeze

freeze

unfreeze

Control container state

start

stop

reboot

shutdown

wait

Manage containers

create

clone

rename

destroy

Console

consoleGetFD

console

Attach to container

attach

attachRunWait

Snapshots

snapshot

snapshotList

snapshotRestore

Misc

wantDaemonize

wantCloseAllFDs

getCGroupItem

setCGroupItem

mayControl

addDeviceNode

removeDeviceNode

getRef

dropRef

Global LXC functions

List containers

listDefinedContainers

listActiveContainers

listAllContainers

Misc

getWaitStates

getGlobalConfigItem

getVersion

logClose