How do I assign a public ipv6 address to a LXC container

Most of the VPS that I buy contain 1 ipv4 address and ipv6 with /48 prefix. How do I generate individual public ipv6 addresses for my LXC containers?

Ok. Found a solution following these guidelines Using IPV6

Thanks for the answer you provided, I wrote a one-click configuration script based on this approach

Automatically configure IPV6 addresses for LXC containers created by LXD

In fact, I followed up by digging up another way to do IPV6 address appending, the relevant code: build_ipv6_network

lxc config device add "$CONTAINER_NAME" eth1 nic nictype=routed parent=${ipv6_network_name} ipv6.address=${lxc_ipv6}