System.LXC.Container

LXC Monad

data LXC a

withContainer

Data types

data Container

data Snapshot

data BDevSpecs

data ContainerState

parseState

printState

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

Control container state

start

stop

reboot

shutdown

freeze

unfreeze

wait

Manage containers

create

clone

rename

destroy

Console

consoleGetFD

console

Attach to container

attach

attachRunWait

Snapshots

snapshot

snapshotList

snapshotRestore

snapshotDestroy

Misc

wantDaemonize

wantCloseAllFDs

getCGroupItem

setCGroupItem

mayControl

addDeviceNode

removeDeviceNode

Global LXC functions

List containers

listDefinedContainers

listActiveContainers

listAllContainers

Misc

getWaitStates

getGlobalConfigItem

getVersion

logClose