Lxc freeze doesn't exist, but is implented in API

I see that I can freeze (suspend) a container via the API like :

curl --unix-socket /var/snap/lxd/common/lxd/unix.socket -X PUT -d ‘{“action”: “freeze”}’ s/1.0/containers/x2go/state?project=laptop

This seems to work well, but the command is not implemented in the commandline tool lxc (i.e. lxc freeze )?

I am using snap 3.13 (rev 10756) on ubuntu 19.04

lxc pause is the command, then use lxc start to resume.

Thanks! Hmm it doesn’t show the option with:


but indeed it does do the trick :slight_smile:

lxc --help --all