Clone an lxc container to another host in five commands

A short how-to about moving LXC containers from a computer to another

Stop your container!!

sudo lxc-stop -n <YOUR-CONTAINER-NAME>

Compress it into a tar archive

sudo tar --numeric-owner -czvf lxc.tgz /var/lib/lxc/<YOUR-CONTAINER-NAME>

Move tar file to new host.
You can use scp, an usb stick, whatever you want.

Untar your container where you like, usually /var/lib/lxc is a good place

sudo tar --numeric-owner -xzvf lxc.tgz

Enjoy!

sudo lcx-start -n<YOUR-CONTAINER-NAME>