following server reboot:
“lxc list” show me all ocntainer stopped
“cat /var/snap/lxd/common/lxd/logs/lxd.log”
t=2019-11-10T07:48:03+0000 lvl=info msg="LXD 3.18 is starting in normal mode" path=/var/snap/lxd/common/lxd
t=2019-11-10T07:48:03+0000 lvl=info msg="Kernel uid/gid map:"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - u 0 0 4294967295"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - g 0 0 4294967295"
t=2019-11-10T07:48:03+0000 lvl=info msg="Configured LXD uid/gid map:"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - u 0 1000000 1000000000"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - g 0 1000000 1000000000"
t=2019-11-10T07:48:03+0000 lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored."
t=2019-11-10T07:48:03+0000 lvl=info msg="Kernel features:"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - netnsid-based network retrieval: no"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - uevent injection: no"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - seccomp listener: no"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - unprivileged file capabilities: yes"
t=2019-11-10T07:48:03+0000 lvl=info msg=" - shiftfs support: no"
t=2019-11-10T07:48:03+0000 lvl=info msg="Initializing local database"
t=2019-11-10T07:48:04+0000 lvl=info msg="Starting /dev/lxd handler:"
t=2019-11-10T07:48:04+0000 lvl=info msg=" - binding devlxd socket" socket=/var/snap/lxd/common/lxd/devlxd/sock
t=2019-11-10T07:48:04+0000 lvl=info msg="REST API daemon:"
t=2019-11-10T07:48:04+0000 lvl=info msg=" - binding Unix socket" inherited=true socket=/var/snap/lxd/common/lxd/unix.socket
t=2019-11-10T07:48:04+0000 lvl=info msg=" - binding TCP socket" socket=[::]:8443
t=2019-11-10T07:48:04+0000 lvl=info msg="Initializing global database"
t=2019-11-10T07:48:04+0000 lvl=info msg="Initializing storage pools"
t=2019-11-10T07:48:04+0000 lvl=info msg="Initializing networks"
t=2019-11-10T07:48:05+0000 lvl=info msg="Pruning leftover image files"
t=2019-11-10T07:48:05+0000 lvl=info msg="Done pruning leftover image files"
t=2019-11-10T07:48:05+0000 lvl=info msg="Loading daemon configuration"
t=2019-11-10T07:48:05+0000 lvl=info msg="Pruning expired images"
t=2019-11-10T07:48:05+0000 lvl=info msg="Done pruning expired images"
t=2019-11-10T07:48:05+0000 lvl=info msg="Pruning expired container backups"
t=2019-11-10T07:48:05+0000 lvl=info msg="Done pruning expired container backups"
t=2019-11-10T07:48:05+0000 lvl=info msg="Expiring log files"
t=2019-11-10T07:48:05+0000 lvl=info msg="Done expiring log files"
t=2019-11-10T07:48:05+0000 lvl=info msg="Updating images"
t=2019-11-10T07:48:05+0000 lvl=info msg="Updating instance types"
t=2019-11-10T07:48:05+0000 lvl=info msg="Done updating images"
t=2019-11-10T07:48:05+0000 lvl=info msg="Done updating instance types"
t=2019-11-10T07:48:34+0000 lvl=info msg="Deleting container" created=2019-11-10T07:39:42+0000 ephemeral=false name=bionic project=default used=2019-11-10T07:40:34+0000
t=2019-11-10T07:48:34+0000 lvl=info msg="Deleted container" created=2019-11-10T07:39:42+0000 ephemeral=false name=bionic project=default used=2019-11-10T07:40:34+0000
t=2019-11-10T07:48:47+0000 lvl=info msg="Starting container" action=start created=2018-12-20T17:57:03+0000 ephemeral=false name=gitlab project=default stateful=false used=2019-11-09T16:36:59+0000
t=2019-11-10T07:48:47+0000 lvl=eror msg="Failed starting container" action=start created=2018-12-20T17:57:03+0000 ephemeral=false name=gitlab project=default stateful=false used=2019-11-09T16:36:59+0000
t=2019-11-10T07:48:48+0000 lvl=info msg="Container initiated stop" action=stop created=2018-12-20T17:57:03+0000 ephemeral=false name=gitlab project=default stateful=false used=2019-11-10T07:48:47+0000
“lxc storage list”
+---------+-------------+--------+--------------------------------+---------+
| NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
+---------+-------------+--------+--------------------------------+---------+
| default | | btrfs | /var/snap/lxd/common/lxd/disks | 9 |
+---------+-------------+--------+--------------------------------+---------+
and one of the ct “lxc config show --expanded ygol”
architecture: x86_64
config:
image.architecture: amd64
image.description: ubuntu 18.04 LTS amd64 (release) (20181124)
image.label: release
image.os: ubuntu
image.release: bionic
image.serial: "20181124"
image.version: "18.04"
volatile.base_image: 7b58622614fa724290eb15c139501394c63641e81411c13d166825cc8c7fae45
volatile.eth0.hwaddr: 00:16:3e:f0:08:a9
volatile.idmap.base: "0"
volatile.idmap.current: '[{"Isuid":true,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
volatile.last_state.power: STOPPED
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""