CentOS7が止まらない
CentOS7の環境を用意します。
tokyo:~$ lxc remote add images images.linuxcontainers.org tokyo:~$ lxc launch images:centos/7/amd64 centos7 Creating centos7 done. Starting centos7 done. tokyo:~$ lxc list +----------+---------+-----------+------+-----------+-----------+ | NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS | +----------+---------+-----------+------+-----------+-----------+ | centos7 | RUNNING | 10.0.3.93 | | NO | 0 | | mail | STOPPED | | | NO | 0 | | owncloud | STOPPED | | | NO | 0 | +----------+---------+-----------+------+-----------+-----------+ tokyo:~$ lxc stop centos7
落ちない。
いつまで待っても止まらない。
必死で探したところ、以下のサイトに情報が。
https://github.com/lxc/lxd/issues/1183
停止できました。
tokyo:~$ lxc stop centos7 --force tokyo:~$ lxc list +----------+---------+-----------+------+-----------+-----------+ | NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS | +----------+---------+-----------+------+-----------+-----------+ | centos7 | STOPPED | | | NO | 0 | | mail | STOPPED | | | NO | 0 | | owncloud | STOPPED | | | NO | 0 | +----------+---------+-----------+------+-----------+-----------+ tokyo:~$