lxc

lxc

TLDR

List local containers matching a string. Omit the string to list all local containers

$ lxc list [match_string]
copy


List images matching a string. Omit the string to list all images
$ lxc image list [[remote]:][match_string]
copy


Create a new container from an image
$ lxc init [[remote]:][image] [container]
copy


Start a container
$ lxc start [[remote]:][container]
copy


Stop a container
$ lxc stop [[remote]:][container]
copy


Show detailed info about a container
$ lxc info [[remote]:][container]
copy


Take a snapshot of a container
$ lxc snapshot [[remote]:][container] [snapshot]
copy

Copied to clipboard