How do I clone an existing LXC?

I’ve tried lxc-clone and lxc copy. Can someone point me to a list of commands with examples.

lxc copy <source container> <destination container> - then start the container

3 Likes

I don’t think there is a kind of Clone Option in LXD,
You should take a snapshot of a container.
That will be an LXC Image and you can spin a container from that LXC Image.

This works perfectly