Thanks for your comment. Could you tell me why "lxc pause" is a hidden command?
2016-05-19 7:42 GMT+09:00 Stéphane Graber <stgra...@ubuntu.com>: > On Thu, May 19, 2016 at 07:33:53AM +0900, Hiroaki Nakamura wrote: >> Hi, >> >> I am creating the lxd_container module for Ansible. >> https://github.com/ansible/ansible-modules-extras/pull/2208#issuecomment-220122327 >> >> And I'm wondering I use the pylxd module or the lxc command. >> Actually I created the both version. >> >> A. An implementation using the pylxd module. >> https://github.com/hnakamur/ansible-modules-extras/blob/lxd_container/cloud/lxd/lxd_container.py >> >> B. An implementation using the lxc command. >> https://github.com/ansible/ansible-modules-extras/pull/2208#issuecomment-219968885 >> >> I think I prefer B because it's simpler for common cases like >> launching a container >> using a remote standard image. >> >> However I could not found the way to freeze/unfreeze a container using >> the lxc command. >> Is there a way to freeze/unfreeze using the lxc command? >> If not, could you tell me why? >> Is the frozen state deprecated? > > It's "lxc pause" and "lxc start". > > Pause is a hidden command, so you need to do "lxc help --all" to have it > listed in the help. > >> >> Regards, >> Hiroaki >> _______________________________________________ >> lxc-devel mailing list >> lxc-devel@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-devel > > -- > Stéphane Graber > Ubuntu developer > http://www.ubuntu.com > > _______________________________________________ > lxc-devel mailing list > lxc-devel@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-devel > _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel